How you are loading player information? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How you are loading player information? (
/showthread.php?tid=547406)
How you are loading player information? -
Banditukas - 22.11.2014
Hi,
I need to load player money, score an so on... How you are doing that with mysql? because now i'am when more players spawn'ed then there is about 30-40 queries not completed.
Re: How you are loading player information? -
Abagail - 22.11.2014
Load the information maybe before you spawn them? If your using MySQL right it shouldn't take a long time. Are you hosting this with a laptop? Other than that, I can't think of any reason MySQL would delay queries.
Re: How you are loading player information? -
Banditukas - 22.11.2014
No, when player spawn OnPlayerSpawn am loading. Am use cache_save and when spawn i use that info.