Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Saving to database dilema
Darth1993
Little Clucker
Posts: 34
Threads: 10
Joined: Apr 2011
Reputation:
0
#1
09.10.2012, 16:58
Hello, what's better? To save player stats to the mysql database right away after player stats being updated or store everything in runtime and save only when server is being restarted, auto server save, etc...?
Find
Reply
Mellnik
Gangsta
Posts: 767
Threads: 40
Joined: Dec 2011
Reputation:
0
#2
09.10.2012, 17:03
only save by onplayerdisconnect. store the playerstats in veriables meanwhile
Find
Reply
Darth1993
Little Clucker
Posts: 34
Threads: 10
Joined: Apr 2011
Reputation:
0
#3
09.10.2012, 17:28
That's what I wanted to read. Thanks.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help