PadMad Posted October 24, 2019 Share Posted October 24, 2019 l I tried to translate a script with a function gg.choice to gg.multiChoice. I don't know, why after selecting functions and pressing a button "ok", the script does nothing. function main() menu = gg.multiChoice({'Super Speed ON(BUG)','Super Speed OFF','Air Speed ON️','Air Speed OFF️','Gravity x3 ON️','Gravity x3 OFF','Developer Fly ON (Detect)','Developer Fly OFF️','SpeedHack v.2 x2 ON','SpeedHack v.2 x2 OFF','SpeedHack v.2 x5 ON','SpeedHack v.2 x5 OFF','Big NickName ON','Big NickName OFF','Head Rotate ON','Head Rotate OFF','Exit'},Lasttl,'Made By PadMad') if menu == nil then os.exit() else if menu == 1 then SM(K) end if menu == 2 then SM1(K) end if menu == 3 then SM2(K) end if menu == 4 then SM3(K) end if menu == 5 then SM4(K) end if menu == 6 then SM5(K) end if menu == 7 then SM6(K) end if menu == 8 then SM7(K) end if menu == 9 then SM8(K) end if menu == 10 then SM9(K) end if menu == 11 then SM10(K) end if menu == 12 then SM11(K) end if menu == 13 then SM12(K) end if menu == 14 then SM13(K) end if menu == 15 then SM14(K) end if menu == 16 then SM15(K) end if menu == 17 then SM16(K) end Qjctx=-1 end end function SM(K) gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber('0.1', gg.TYPE_FLOAT) gg.getResults(200) gg.editAll('0.401', gg.TYPE_FLOAT) gg.clearResults() gg.toast('Скорость ходьбы ON!') end Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 24, 2019 Administrators Share Posted October 24, 2019 Because you not read API and do not know what return gg.multiChoice. Link to comment Share on other sites More sharing options...
PadMad Posted October 24, 2019 Author Share Posted October 24, 2019 1 hour ago, Enyby said: Because you not read API and do not know what return gg.multiChoice. what is api and how do I make a script with multichoice right? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 24, 2019 Administrators Share Posted October 24, 2019 https://gameguardian.net/help/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.