What's new

Discussion Would this work?

B

Babyface

Enthusiast
Messages
880
Reaction score
54
Points
95
Sin$
0
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
 
thock09

thock09

Contributor
Hardened Veteran Fabled Veteran
Messages
3,371
Reaction score
695
Points
415
Sin$
0
looking at it i believe it would work. not sure though as i'm not the best coder either lmao
 
TheRoflRocket

TheRoflRocket

Enthusiast
Messages
156
Reaction score
64
Points
85
Sin$
0
it will most likely work.........I dont see the point of this
 
oSo iKYLE

oSo iKYLE

Enthusiast
Messages
65
Reaction score
2
Points
55
Sin$
0
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
Login
Register