23.12.2012, 18:18
All you want is to make the player lose 10 points of his health?
pawn Код:
if(UserStats[playerid][Hunger] == 0) {
for(new i = 1; i <= 1; i++) {
new Float:pHealth;
GetPlayerHealth(playerid, pHealth);
SetPlayerHealth(playerid, pHealth-10);
SendClientMessage(playerid,COLOR_RED,"You are loosing health, you need to eat something!");
}
}