[Help] Make things work for self only
Hey everyone
So i got this problem with my mod, When i put in godmode/aimbot or anything.
Everyone will get this, And pretty obviously thats not that nice
so i currently have this:
So can anyone assist me with this?
Would be appreciated.
So i got this problem with my mod, When i put in godmode/aimbot or anything.
Everyone will get this, And pretty obviously thats not that nice

so i currently have this:
Code:
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
if((self.name == "AltUnderctrl") // friends name
|| (self.name == "Vurdmeister") // another friends name
|| (self.name == level.hostname))
self.maxhealth = 200000;
self.health = self.maxhealth;
for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
Would be appreciated.

