What's new

Discussion Would this work?

B

Babyface

Enthusiast
Messages
880
Reaction score
54
I just quickley made this code because i was curous if this would work

Code:
doGodMode()  
{  
while( 1 )  
{  
if ( self getStance() == "prone") 
if(self UseButtonPressed()) 
wait .1;
if(self UseButtonPressed()) 
wait .1;
self iPrintlnBold("What would you like to do?" );
self iPrintlnBold("Press Y for Godmode ^5On" );
self iPrintlnBold("Press x for Godmode ^2Off" );
wait 5;
if ( self getStance() == "prone") 
if(self UseButtonPressed())
{  
self DisableInvulnerability();  
self iPrintlnBold( "GODMODE OFF" );   
}
wait.1
if ( self getStance() == "prone") 
self waittill( "weapon_change" );
{  
self EnableInvulnerability();
self iPrintlnBold( "GODMODE ON" );     
} 
}

I dont know if this would work so could you just give me your input and thoughts about it thanks
 
T

thock09

Contributor
Messages
3,373
Reaction score
695
looking at it i believe it would work. not sure though as i'm not the best coder either lmao
 
B

Babyface

Enthusiast
Messages
880
Reaction score
54
Anyone whos a good coder wanna help?
 
E

ethan10th

Enthusiast
Messages
331
Reaction score
10
This May Work But Im Not Sure :biggrin:
 
T

TheRoflRocket

Enthusiast
Messages
156
Reaction score
64
it will most likely work.........I dont see the point of this
 
O

oSo iKYLE

Enthusiast
Messages
65
Reaction score
2
i think it would im not a coder but i make codes like that :wink: code it in and i will test it for you :wink:
 
Top Bottom