25.08.2012, 08:35
It's because money doesn't reset when you die IIRC.
In OnPlayerSpawn, I'd suggest using ResetPlayerMoney(playerid) to set their money back to 0, then you can load the money from your variable and they'll have the right amount again.
In OnPlayerSpawn, I'd suggest using ResetPlayerMoney(playerid) to set their money back to 0, then you can load the money from your variable and they'll have the right amount again.
pawn Код:
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]); //I guess check that