He used the Getoption function, correct me if i'm wrong.
Inside the
Code:
if(getoption()==1){
}
Your script should be to enable the GodMode, or even better you could switch between two bools to enable/disable the godmode.
Declare a bool like so:
Code:
bool Godmodetoggle;
Then inside the getoption switch between them like this:
Code:
Godmodetoggle = !Godmodetoggle;
Then you can either add two if statements inside the getoption, or inside your loop.
These if statements have to do as you want, so one script to enable godmode, and one to disable.
like so:
Code:
if(Godmodetoggle){
//code to enable godmode here
}
else if(!Godmodetoggle){
//code to disable godmode here
}
You should be able to figure this out now, good luck.
Don't hate if my example is crappy, it's early for me and I personally haven't used this base
.
Just trying to help.