Jump to content

add multiple variables to dial in knob


michaellev

Recommended Posts

good day please advise how can I pass the second parameter to dial in the knob?

 

dial_add(nil, 0, 5, 80, 80, function(direction)

 

if direction == 1 then

fs2020_event(unitvar .. "GoToPage-HOME-PageTraffic")

 

elseif direction == -1 then

fs2020_event(unitvar .. "GoToPage-HOME-PageMap")

end

 

 

sound_play(dial_snd)

end)

 

how can I pass another parameter to second right click one after another?

tnx

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...