Something about a derby...
#3

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);
}
Reply


Messages In This Thread
Something about a derby... - by Lorenc_ - 25.04.2010, 02:52
Re: Something about a derby... - by Ibanez - 25.04.2010, 03:10
Re: Something about a derby... - by IamNotKoolllll - 25.04.2010, 03:10
Re: Something about a derby... - by IamNotKoolllll - 25.04.2010, 03:11
Re: Something about a derby... - by Lorenc_ - 25.04.2010, 04:56
Re: Something about a derby... - by Lorenc_ - 25.04.2010, 06:06

Forum Jump:


Users browsing this thread: 1 Guest(s)