31.01.2019, 10:32
Quote:
Update data when they change, do not update EVERYTHING when the server closes. Less queries and less data to update at that time will reduce the "hang" time.
|
the "hang" im getting is when the server closes, but when the server closes, there shouldnt be much to append to MySQL as it changes as im updating.
I just read Data from MYSQL to display it currently and create the objects/data associated to the values, it doesnt get changed.
like Loading Default Gang HQ entrances,
faction/family IDS and all the custom rank names, car colors etc.
then i setup pickups for the xyz pos saved in mysql, all that stuff, only data that really changes is the player data.
but the GM ive started off of was pBlueG's recent login_system-cache.pwn
And it was fine closing when i first got the script haha