18.05.2013, 23:36
(
Последний раз редактировалось Pettersen; 28.12.2013 в 23:38.
)
**DELETE
GetPlayerHealth(playerid, Health);
if(Health < 100.0)
{
SendClientMessage(playerid, -1, "Player have full health.");
}
I just took a quick look on it and noticed that you have put like this
pawn Код:
|
GetPlayerHealth(playerid, phealth);
if(phealth >= 99)
{
SendClientMessage(playerid, COLOR, "The player next to you have full health and don't need cares.");
return 1;
}
Or just try to put like:
PHP код:
|
< means more than and > means less than. So if health is < (more than) 99 he will show the error message. The code is right
|