Effectively save player info MySQL
#1

My script have a fucntion to save player info and i call that function under OnPlayDisconnect but some of the stuff aren't saving. My question is where should i put it to effectively save the player info. I though about making a timer to save it every 5 mins but i want to know if there is a better way to do this.
Reply
#2

use print as debug.
Reply
#3

I don't understand
Reply
#4

Can you post your OnPlayDisconnect code?
Reply
#5

Not at the moment, there is noylthing wrong with the code i just want to know where in my script would be the best place to call the function to save the player info
Reply
#6

OnPlayerDisconnect [When the Player leaves]

Timer [Keep up with data and save it]
Reply
#7

Would you recommand making a timer to save it every 5mins?
Reply
#8

Quote:
Originally Posted by Akeem
Посмотреть сообщение
Would you recommand making a timer to save it every 5mins?
no not 5 mins cause it will spam.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)