01.05.2012, 10:26
Код:
function MoneyUpdate(playerid) { if(GetPlayerCash(playerid) < GetPlayerMoney(playerid)) { foreach(Player, i) { new const old_money = GetPlayerCash(playerid); ResetPlayerCash(playerid), GivePlayerCash(playerid, old_money); } } return 1; }