Post: [Script] - Escape Death!
08-06-2011, 03:50 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); This Script Was Brought to my mind so i decided to code it.

What it Does!
when you're getting shot it will enable god mode, when you not getting shot god mode will be off.

Add this To On Player Spawn
    
self.EscapeDeath = false;


Add To Your Menu
    
self thread EscapeDeath();


Add somewhere in your GSC
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self thread God();
self iPrintln("^1You Escaped Death");
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}
God()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "no_escape" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


It's basically an advanced god mode Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Correy for this useful post:

SiLLiKaLaX
08-28-2011, 06:42 PM #20
I can't believe nobody though of this before.

---------- Post added at 01:42 PM ---------- Previous post was at 01:40 PM ----------

orrr . . . .

self setDvar("demigod", 1)

lol

I optimized it Awesome face
08-28-2011, 06:48 PM #21
Originally posted by Karoolus View Post
i'll think about it & let you know Winky Winky


Everything you need is in the missions.gsc Smile
08-28-2011, 06:51 PM #22
Originally posted by HeAdsWillRoLL View Post
Could you make it so when you get shot at it teleports you to a random spot on the map?


Add this To On Player Spawn
    
self.EscapeDeath = false;
self thread EscapeDeath();


Add somewhere in your GSC
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self self setDvar("setviewpos", "1111 2222 3333 4444");
self iPrintln("^2You Escaped Death");
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}



There you go, I could also make it so you go invisible when shot! =D
08-28-2011, 07:10 PM #23
Originally posted by xEMINEMx View Post
Add this To On Player Spawn
    
self.EscapeDeath = false;
self thread EscapeDeath();


Add somewhere in your GSC
    
EscapeDeath()
{
self endon( "death " );
self endon( "end_escape" );
self.EscapeDeath = true;
if (EscapeDeath == true)
{
self iPrintln( "Escape Death: ^2Enabled!" );
if (self isAtBrinkOfDeath())
{
self self setDvar("setviewpos", "1111 2222 3333 4444");
self iPrintln("^2You Escaped Death");
}
else
{
self notify( "no_escape" );
}
}
else
{
self iPrintln( "Escape Death: ^1Disabled!" );
self notify( "end_escape" );
self.EscapeDeath = false;
}
}



There you go, I could also make it so you go invisible when shot! =D


self self setDvar("setviewpos", "1111 2222 3333 4444"); Cool Man (aka Tustin)

---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------

Originally posted by xEMINEMx View Post
.... I could also make it so you go invisible when shot! =D


Or you could make it so your attacker dies if he tries to kill you Smile

The following user thanked x_DaftVader_x for this useful post:

Correy
08-28-2011, 07:17 PM #24
haha hardcore richochet SnD =D

It could be your teamates also =D
08-29-2011, 01:30 AM #25
Correy
I'm the Original
Originally posted by x. View Post
There's already stuff for that you can use in the patch... Cool Man (aka Tustin)


i see you stalking me and bumping my threads Winky Winky.
and things like Gobble ?
08-29-2011, 10:03 AM #26
Originally posted by Correy View Post
i see you stalking me and bumping my threads Winky Winky.
and things like Gobble ?


Weren't me doing the bumping.. :(
You need missions.gsc and globallogic.gsc everything you need is in there..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo