Something about a derby...
#2

pawn Код:
new Float:x, Float:y, Float:z;
for(new i = 0; i < MAX_PLAYERS; i++)
{
  GetPlayerPos(i, x, y, z);
  if(z < {COORD}) // change '{COORD}' to your Z co-ord of when they are in the water or just above the water
  {
    SetPlayerHealth(i, 0.0);
  }
}
Could do something like that in a timer?
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)