MYSQL PROBLEM - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MYSQL PROBLEM (
/showthread.php?tid=390210)
MYSQL PROBLEM -
[NMD]Chronos - 05.11.2012
when i login to my server i got 15k Money i rob a Store and get 50k
i reconnect my game my money back to 15k
Anyone can Help me ?
Re: MYSQL PROBLEM -
RXservers - 05.11.2012
When you disconnect from the server how much money does database says you have?
Re: MYSQL PROBLEM -
[NMD]Chronos - 05.11.2012
still 15k
Re: MYSQL PROBLEM -
[NMD]Chronos - 05.11.2012
Re: MYSQL PROBLEM -
RXservers - 05.11.2012
Please post your OnPlayerDisconnect code.
Re: MYSQL PROBLEM -
[NMD]Chronos - 05.11.2012
Re: MYSQL PROBLEM -
[NMD]Chronos - 06.11.2012
anyone can help me ?
Re: MYSQL PROBLEM -
Shaneisace - 06.11.2012
For MySQL saving you need to UPDATE the Row of that user upon Disconnect.
So make a Function which will do that.
I can't create it for you as i don't know what type of MySQL plugin you are using as myself i use MySQL R7 plugin
Re: MYSQL PROBLEM -
[NMD]Chronos - 06.11.2012
im using R4-2
Re: MYSQL PROBLEM -
[NMD]Chronos - 06.11.2012
already update to r6 still not saving