SA-MP Forums Archive
How to load a lot of objects (more than the limit) - 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 load a lot of objects (more than the limit) (/showthread.php?tid=396819)



How to load a lot of objects (more than the limit) - 69 - 02.12.2012

Hey.
I was wondering how I could load a looot of objects, even more than the limit? I've been told to use incognito's streamer but I don't know how to use it. Do you just #include it or do you change CreateObject to something else?
Pls help. -> Make a 4dummies reply!!


Re: How to load a lot of objects (more than the limit) - goviscrap - 02.12.2012

Include streamer onto your GM script by using this ontop of your script under #include <a_samp>
type this:
#include <streamer> // Make sure you have downloaded the latest Streamer and have add it in Server/pawno/include... Streamer download HERE

And also add it to your server.cfg on "Plugin" line..Server/Plugins
add this to your server.cfg : streamer.dll

I dont know if you could define more objects than it usually have..



Re: How to load a lot of objects (more than the limit) - Mustafa6155 - 02.12.2012

yea here ^above^ said it and u can see it one the link how and more...


Re : How to load a lot of objects (more than the limit) - 69 - 02.12.2012

I used the streamer and put it as a plugin but when I log in game it gives me warnings (s007) and then crashes me. I read topics and it's because of too much objects.
All my objects are under OnGameModeInit..


Re: How to load a lot of objects (more than the limit) - Faisal_khan - 02.12.2012

Are you sure you have added this line in the cfg?
Код:
plugin streamer



Re: How to load a lot of objects (more than the limit) - goviscrap - 02.12.2012

How many objects do you have? I can say that on my server I have ALOOOOOOOOOOOOOTS of objects and it streams all fine!

And for your warning... Do you use any mod or something?


Re : How to load a lot of objects (more than the limit) - 69 - 02.12.2012

No mods, and I have around 900. I also use CreateObject, should I use something else (createdynamicobject??)


Re: How to load a lot of objects (more than the limit) - goviscrap - 02.12.2012

Yes you could try to change all your CreateObject to CreateDynamicObject..By pressing CTRL+H in pawno ..
It can also be that you computer loads the object slowly


Re : Re: How to load a lot of objects (more than the limit) - 69 - 02.12.2012

Quote:
Originally Posted by goviscrap
Посмотреть сообщение
Yes you could try to change all your CreateObject to CreateDynamicObject..By pressing CTRL+H in pawno ..
It can also be that you computer loads the object slowly
Changed to dynamic and it works!!!


Re: How to load a lot of objects (more than the limit) - goviscrap - 02.12.2012

Glad to hear that!