25.04.2010, 03:10
Quote:
Originally Posted by ((Lorenc))
I was making a derby today and then i was wondering if a player falls off the derby and on to the water. How do i make him suicide?
Im not sure if the function isplayerinarea would work |
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(z = < -2)
{
SetPlayerHealth(playerid, 0.0);
}