Raised This Month: $ Target: $400
 0% 

[FIXED] Player's data wipes if exit during Mapchange [SQLITE]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
safetymoose
Senior Member
Join Date: Feb 2015
Old 04-28-2016 , 20:27   Re: [HELP] Player's data wipes if exit during Mapchange [SQLITE]
Reply With Quote #2

Before you do anything and try to save data, you must make sure that the player is actually connected, you dont want to save an empty value if the player leaves and you try to save.

Add an is_user_connected(id) check inside your SQLITE_Save function.
safetymoose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode