19.08.2010, 16:30
Hi,
I'm trying to make a code to detect if a player has fallen under a stunt.
This is what I've got now;
Thanks
I'm trying to make a code to detect if a player has fallen under a stunt.
This is what I've got now;
Код:
public OnPlayerUpdate(playerid)
{
new Float:x;
new Float:y;
new Float:z;
GetPlayerPos(playerid,x,y,z);
printf("lolmao %f",z);
if(z < Games[currentGame][minimumHeight])SendMsg(playerid,"CHCK");
return 1;
}


