28.05.2018, 20:52
To use: Player[playerid][Hunger];
I have this code:
I have this code:
Код:
if(listitem == 0) { if(GetPlayerMoney(playerid) >= 5) { GivePlayerMoney(playerid, -5); Player[playerid][Hunger] = Player[playerid][Hunger] + 10; } else { return SendClientMessage(playerid, -1, "You can not afford this dish!"); } }