xXMADEXx Posted June 11, 2013 Share Posted June 11, 2013 (edited) Hello guys, so, im working on my account system... right now, im making it so that when the player leaves, it saves all his data to the MySQL database. For some reason, the saving is very, very slow, and causes network trouble. It takes about 10 seconds after the player disconnects for all the data to be saved. Here is my code: [[ REMOVE BY xXMADEXx ]] Edited June 11, 2013 by Guest Link to comment
Castillo Posted June 11, 2013 Share Posted June 11, 2013 "GetPlayerDatabaseAccountData" does a MySQL query, right? that's what causes the lag. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now