23.07.2009, 00:21
Quote:
Originally Posted by wilcock33
keep your health constant
jail you if you kill somebody in the safe zone |
Checkpoints would be an easier choice.
pawn Код:
OnPlayerEnterCheckpoint(playerid)
{
If(PlayerInSafeZone[playerid]==0)
{
PlayerInSafeZone[playerid]=1;
GetPlayerHealth(playerid,PlayerOldHealth[playerid]);
SetPlayerHealth(playerid,10000.00);
return SendClientMessage(playerid,0xFF0000FF,"You are in the safe zone");
}
}