SA-MP Forums Archive
MySQL, loading dynamic objects - 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: MySQL, loading dynamic objects (/showthread.php?tid=419515)



MySQL, loading dynamic objects - PaulDinam - 01.03.2013

Is that okay to use dynamic objects through mysql, cause I have six hundred there..,
or its better to load through gamemode.


Re: MySQL, loading dynamic objects - Djole1337 - 01.03.2013

Yes, its possible but it's really not needed.

You can make a stock to load objects from a file.


Re: MySQL, loading dynamic objects - PaulDinam - 01.03.2013

but with mysql I could edit in game and add stuff.
my question was if it's going to slow my server if I have 600 objects in mysql?


Re: MySQL, loading dynamic objects - RajatPawar - 01.03.2013

No, it wont (well, not much), I have heard about 4000 objects in a server without any difficulty, so stock or MySQL, go ahead.


Re: MySQL, loading dynamic objects - Sinner - 01.03.2013

I load over 200 stunt maps when my server starts (over 200,000 objects) and another 200 maps during runtime (over 400,000 objects). Starting my server takes around 20 seconds, after that it's not going to slow down anything.

MySQL is made specifically for working with huge amounts of data. Loading your 600 objects will take no time at all.


Re: MySQL, loading dynamic objects - PaulDinam - 01.03.2013

Thanks people