15.02.2012, 12:41
Quote:
When player stand on sky at z = 5000(Height) I want to check when player stay that player to death.
new Float ![]() GetPlayerPos(playerid, x, y, z); if(PlayerInfo[playerid][z] > 5000) { SetPlayerHealth(playerid, 0); } How I do it, Please help me thank you, Sorry my language :') |
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(z > 5000.0) SetPlayerHealth(playerid,0.0);