[Tutorial] How to make a very simple Anti-Spawn Kill
#9

Nice but still the player will get killed -.-
you can use the following but it's not tested I am a newbie at scripting
but check this :
Code:
public OnPlayerSpawn(playerid)
{
	new Float:X, Float:Y, Float:Z;
             GetPlayerPos(playerid, X, Y, Z);   
             if(IsPlayerInRangeOfPoint(playerid,7.0, X, Y, Z)) {
             SetPlayerHealth(playerid,1000);
             }
            else { SetPlayerHealth(playerid,100); }

	return 1;
}
I know it might not work but still a try from a newbie <.<
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)