problem with public onplayerupdate thing
#4

If you want to teleport players when the HP is 20 OR lower (for example: 5, 10, 15)
Use this:
pawn Код:
public OnPlayerUpdate(playerid)
{
  if(HealthAmount <= 20)
  {
   SetPlayerPos(playerid, 0.0, 0.0, 0.0);
  }
  return 1;
}
Reply


Messages In This Thread
problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:06
Re: problem with public onplayerupdate thing - by Nero_3D - 21.04.2010, 19:22
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:25
Re: problem with public onplayerupdate thing - by CAR - 21.04.2010, 19:44
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 19:55
Re: problem with public onplayerupdate thing - by CAR - 21.04.2010, 19:58
Re: problem with public onplayerupdate thing - by hardstop - 21.04.2010, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)