28.12.2015, 00:52
Quote:
PHP код:
If you had 5000, and add 1000 to it, your server-var "PocketMoney" will hold 6000. But since your client already has 5000, you'll be adding the 6000 to it, and you'll end up with 11000 while the server only holds 6000. You need to reset the client money to 0 first, then send the new amount. |