What's new

Discussion [Re-Release] Toggle GOD Mode

  • Thread starter GODLYM0DZ
  • Start date
  • Views 847
G

GODLYM0DZ

Enthusiast
Messages
310
Reaction score
389
i havent yet tested this but i cant see why it shouldnt work

Code:
doGodMode()   
{  
self endon ( "disconnect" );   
self endon ( "death" );
iniGod = 0;
for (;;)   
{  
if ( self getStance() == "prone") 
{
if(self UseButtonPressed()) 
{ 
wait 1.0; 
self iPrintlnBold("Press [{+attack}] for Godmode ^5On" ); 
wait 0.1;
self iPrintlnBold("Press [{+attack}] for Godmode ^2Off" ); 
wait 0.1; 
}
if( iniGod == 0 && self AttackButtonPressed()) 
{   
self EnableInvulnerability(); 
self iPrintlnBold( "GODMODE ON" ); 
iniGod = 1;   
} 
if( iniGod == 1 && self AttckButtonPressed()) 
{   
self DisableInvulnerability();
self iPrintlnBold( "GODMODE OFF" );
iniGod = 0;      
}  
}
}
}
 
C

Crippler

Getting There
Messages
1,942
Reaction score
598
luks so much bettr wen u do it :tongue:
Code:
self iPrintlnBold("Press [{+attack}] for Godmode ^5On" );
 
W

- Woookie -

Enthusiast
Messages
343
Reaction score
33
Double topic 0_o = Messy forum
 
B

Babyface

Enthusiast
Messages
880
Reaction score
54
lol wow look at my code i made a few days ago
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" );      
}  
}

Here is the thread link

i think yours is coded better
 
Top Bottom