17.07.2013, 11:11
Again, your calls are placed in reversed orders.
pawn Код:
new Float: originalHealth, Float: editedHealth;
GetPlayerHealth(playerid, originalHealth);
SetPlayerHealth(playerid, originalHealth - 1.0);
GetPlayerHealth(playerid, editedHealth);
if(editedHealth >= originalHealth)
{
// cheating
}