13.07.2013, 13:02
The problem is most likely that you are not updated the pCash variable when you are adding/deducting money from the player's total; you only use GetPlayerMoney/GivePlayerMoney().
However, you don't need that variable anyway. You can just use the two functions above during loading/saving. The rest of the time the amount of money they have is held by the server itself.
However, you don't need that variable anyway. You can just use the two functions above during loading/saving. The rest of the time the amount of money they have is held by the server itself.