05.08.2010, 01:00
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 :
I know it might not work but still a try from a newbie <.<
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; }