10.02.2017, 21:36
Then you haven't used your variable "PlayerInfo[playerid][Money]" properly. That thing right there literally will reset the money and then give the player the real amount of money IF and ONLY IF the player's money and server-sided money is not same.
Check where you have used PlayerInfo[playerid][Money] and where you have used "GivePlayerMoney".
Edit: Alternatively add a new function:
and replace it with all the "GivePlayerMoney".
Check where you have used PlayerInfo[playerid][Money] and where you have used "GivePlayerMoney".
Edit: Alternatively add a new function:
Код:
GivePlayerMoneyEx(playerid, amount)
{
ResetPlayerMoney(playerid);
PlayerInfo[playerid][Money] += amount;
GivePlayerMoney(playerid, PlayerInfo[playerid][Money]);
}

