[Pedido] Quando o player cai na agua morre!
#2

pawn Код:
public OnPlayerUpdate(playerid)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(z == 0) return SetPlayerHealth(playerid, 0.0);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)