SA-MP Forums Archive
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: Objects (/showthread.php?tid=597502)



Objects - Amunra - 01.01.2016

I Have a problem about Dynamic Object, Sometimes the object can see,and sometimes The object lost or cannot see , but The Filterscript Can to run, How to i fix that ? I think the problem not From Streamer plugins , But the Problem from Max Object Maybe ! How to i know many object in my server?


Re: Objects - RaajParker - 01.01.2016

use under OnGamemodeInit and try it


Re: Objects - Tamy - 01.01.2016

There is a limit on CreateObject of 1000, if you have like 200 CreateObjects used in the script, then you have 800 slots left for the streamer to use as CreateDynamicObject, so I'd prefer you to use CreateDynamicObjects and remove all the CreateObjects from your script, which allows you to have maximum objects.


Re: Objects - FreAkeD - 01.01.2016

https://sampwiki.blast.hk/wiki/Limits

Chances are you've hit the object limits. Convert to streamer.

Streamer Plugin: https://sampforum.blast.hk/showthread.php?tid=102865


Re: Objects - Darkwood17 - 01.01.2016

If you're not using the Incognito's Streamer Plugin, download it.
Make sure all your objects are made by CreateDynamicObject.
Then add this line in OnGameModeInit:
Код:
Streamer_MaxItems(STREAMER_TYPE_OBJECT, 1000);
This will increase the amount of objects the streamer will draw.