16.01.2010, 15:40
pawn Код:
public HeightCheck(playerid)
{
new Float:x, Float:y, Float:z;
for(new i = 0; i < GetMaxPlayers(); i++)
{
GetPlayerPos(playerid,x,y,z);
if(z < 90)
{
SetPlayerHealth(playerid,0.0);
}
}
return 1;
}
And also when i spawn for the first time i die and after that its all good.
Reaver~