10.02.2017, 21:34
Quote:
A simple solution to this is to always update your player's money on OnPlayerUpdate.
Код:
public OnPlayerUpdate(playerid) { if (GetPlayerMoney(playerid) != PlayerInfo[playerid][Money]) { ResetPlayerMoney(playerid); GivePlayerMoney(playerid, PlayerInfo[playerid][Money]); } return 1; } |