SA-MP Forums Archive
Increase object limit for CreateDynamicObject - 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: Increase object limit for CreateDynamicObject (/showthread.php?tid=413714)



Increase object limit for CreateDynamicObject - DLR - 06.02.2013

I have an area which has 726 objects. According to my knowledge, CreateDynamicObject doesn't effect the default object limit of 1000. However, I also read somewhere about object visibility limitations in an area.

How would I overcome the problem of objects not loading here?

Thanks.


Re: Increase object limit for CreateDynamicObject - Basssiiie - 06.02.2013

The Streamer Plugin will only show up to 500 objects at once by default per player. You can increase this to a max of 999 with Streamer_VisibleItems, but it can cause problems, as you said. More information is here, especially in the General Notes at the bottom.


Re: Increase object limit for CreateDynamicObject - DLR - 06.02.2013

So what would I replace the parameters with here?

native Streamer_VisibleItems(type, items);


Re: Increase object limit for CreateDynamicObject - Basssiiie - 06.02.2013

Like this:
Код:
Streamer_VisibleItems(STREAMER_TYPE_OBJECT, 999);
First one is what item category you want to change (objects, pickups, map icon ect..), second one is the maximum amount of visible items allowed for that category.


Re: Increase object limit for CreateDynamicObject - Pillsbury - 06.02.2013

hmm it would be awsome if we can have limited createobjects but someone got away round it to make it limited cant remember how i would use createdynamicobject YSI verison is the best for me


CreateObject
Limit 1000

CreateDynamicObject Not a limit