09.02.2013, 04:46
If I'm not mistaken, when you login back your money is set to $0 whereas the last time it was not $0? If that's the case, before you save your cash, make sure to use this function which get's the player cash.
Put this on top of the OnPlayerDisconnect callback.
pawn Код:
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);