MYSQL PROBLEM
#1



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 ?
Reply
#2

When you disconnect from the server how much money does database says you have?
Reply
#3

still 15k
Reply
#4

Reply
#5

Please post your OnPlayerDisconnect code.
Reply
#6

Reply
#7

anyone can help me ?
Reply
#8

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
Reply
#9

im using R4-2
Reply
#10

already update to r6 still not saving
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)