16.02.2009, 03:59
Quote:
Originally Posted by [XG
Lj ]
Doesn't > add one on? For example > 99 means greater than 100? I think it does if I remember correctly from my previous scripts. |
pawn Код:
dcmd_check(playerid,params[])
{
#pragma unused params
new Float:HP;
GetPlayerHealth(playerid, HP);
if(HP > 99)
{
SendClientMessage(playerid, COLOR_RED, "Yes");
} else return SendClientMessage(playerid, COLOR_RED, "No");
return 1;
}
> 99 is the same as >= 100