How to use more than 1000 objects in an samp - 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 to use more than 1000 objects in an samp (
/showthread.php?tid=651838)
How to use more than 1000 objects in an samp -
Jokers98s - 29.03.2018
How to use more than 1000 objects in samp. Is there any possibility about need 250 more... I got around 1250 objects wanted to add them so is there any possibility for saving them and show in samp server.
Re: How to use more than 1000 objects in an samp -
BigETI - 29.03.2018
Use an object streamer
https://github.com/samp-incognito/samp-streamer-plugin
Re: How to use more than 1000 objects in an samp -
UFF - 29.03.2018
Quote:
Originally Posted by Jokers98s
How to use more than 1000 objects in samp. Is there any possibility about need 250 more... I got around 1250 objects wanted to add them so is there any possibility for saving them and show in samp server.
|
Use Streamer Plugin if you have 1000+ objects, then make your codes to CreateDynamicObjects instead of CreateObjects for more effective.
If you use CreateDynamicObjects
Код:
#include <a_samp.inc>
#include <streamer.inc>
public OnFilterScriptsInit()
{
//================== You map codes ===========
return 1;
}
public OnGamemodeInit()
{
//=================== You map Codes ====================
return 1;
}
then load it in your server. with streamer plugin!