on =✓
off =×
cstatus=off
function Main()
SN =gg.choice({"筑基",--main 1"高阶",--main 2"内存防封/检测/举报",--main 3"特殊",--main 4 "所有功能菜单",--"加速速开",--main6"855上色区",--main7
cstatus.."超级上帝视角","TEST FUNCTION",--main"车加速",--"超级圈圈自瞄","退出脚本"},nil,"")if SN ==1then A1()endif SN ==2then A2()endif SN ==3then A3()endif SN ==4then miscellaneous()endif SN ==5then newmenu()endif SN ==6then KJS()endif SN ==7then ColorWheel()endif SN ==8thenif cstatus == on then--checks for status is on
cstatus = off
cgod2()--关else
cstatus = on
cgod1()endendif SN ==9then Test()endif SN ==10then Sonicboom()endif SN ==11then Zm()endif SN ==12then leave()end
XGCK =-1end
I used cstatus for on off switch. But it's not enough for multiple switches, as they dont share the same on off button.
How to make more switches with few global variable?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Ashleycolton
I used cstatus for on off switch. But it's not enough for multiple switches, as they dont share the same on off button.
How to make more switches with few global variable?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.