how to check players health
#6

'Plain nightmare' identation

pawn Код:
if (strcmp("/heal", cmdtext, true, 10) == 0)
{
   new Float:health;
   GetPlayerHealth(playerid, health);
   if(health <= 99)
     return SetPlayerHealth(playerid, 100);
   else
     return SendClientMessage(playerid, 0xE60000FF, "ERROR: Your health is already full!");
   return 1;
}
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)