What's new

Solved Toggle Option?

  • Thread starter FearlessRage
  • Start date
  • Views 287
FearlessRage

FearlessRage

Bros From NiNJA
Messages
15
Reaction score
7
Points
45
Sin$
0
I have been looking around and cant find how to make somethings in my menu toggle on and off. Is it a code i add or is there a list of the codes with this already?
 
Kyzuro

Kyzuro

Problem Solver
Messages
183
Reaction score
66
Points
105
Sin$
7
Is this what you're looking for?
Code:
Godmode()
{
if(self.god==false)
{
doThis();
self.god=true;
}
else
{
doThat();
self.god=false;
}
}
 
Upvote 0
Top Bottom
Login
Register