[Only works for id 0]
#1

pawn Код:
public HeightCheck(playerid)
{
  new Float:x, Float:y, Float:z;
  for(new i = 0; i < GetMaxPlayers(); i++)
    {
        GetPlayerPos(playerid,x,y,z);
        if(z < 90)
        {
         SetPlayerHealth(playerid,0.0);
        }
    }
    return 1;
}
Why does that only work for id 0 ?
And also when i spawn for the first time i die and after that its all good.

Reaver~
Reply


Messages In This Thread
[Only works for id 0] - by Doppeyy - 16.01.2010, 15:40
Re: [Only works for id 0] - by MadeMan - 16.01.2010, 15:45
Re: [Only works for id 0] - by SuperS82 - 16.01.2010, 15:48
Re: [Only works for id 0] - by Doppeyy - 16.01.2010, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)