28.09.2012, 14:44
its know looking like this
but i want to make the health from 0.1 tell 0.99
but i want to make the health from 0.1 tell 0.99
PHP код:
else if(clickedid == Heal) //Hospital
{
new Float:health;
GetPlayerHealth(playerid,health);
if (health == 0.1 99.9)
{
GivePlayerMoney(playerid,-100);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, COLOR_WHITE, "you have Healed Your Self");
}
else SendClientMessage(playerid, COLOR_RED, "Your Health Is Already Full");
}