how to check players health
#4

pawn Код:
if(strcmp(cmdtext, "/heal", true) == 0)
{
  new Float:health;
  GetPlayerHealth(playerid, health);
  if(health > 99)
  {
   SendClientMessage(playerid, color, "Your health is already full!");
  }
  else
  { SetPlayerHealth(playerid, 100); }
}
Reply


Messages In This Thread
how to check players health - by killdahobo99 - 16.06.2009, 19:10
Re: how to check players health - by robanswe - 16.06.2009, 19:18
Re: how to check players health - by killdahobo99 - 16.06.2009, 19:28
Re: how to check players health - by Grim_ - 16.06.2009, 19:40
Re: how to check players health - by robanswe - 16.06.2009, 19:41
Re: how to check players health - by SpiderPork - 16.06.2009, 19:46
Re: how to check players health - by Grim_ - 16.06.2009, 19:47
Re: how to check players health - by SpiderPork - 16.06.2009, 19:48
Re: how to check players health - by killdahobo99 - 16.06.2009, 20:06
Re: how to check players health - by robanswe - 16.06.2009, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)