SA-MP Forums Archive
Dynamic object limits - 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: Dynamic object limits (/showthread.php?tid=622571)



Dynamic object limits - MerryDeer - 24.11.2016

Hi,

Max objects is 1000, what is player go in zone where is for ex 700 objects, and player will create there 301 object, what if return for last object , if it reach max 1000 objects? because there is in my server command, player can create barriers, with command


Re: Dynamic object limits - Threshold - 24.11.2016

A player cannot have more than 1000 server-created objects streamed to them at once. The streamer will continue to increment an object ID even if the streamed objects surpass the server limit, whereas CreateObject will not. Either way, you cannot have more than 1000 objects streamed, dynamically or normally, at one time.


Re: Dynamic object limits - MerryDeer - 24.11.2016

Yes, but my system go bugg? like in variable i write

new ObjectIddd[ MAX_PLAYERS ];

CMD:commandcreate
ObjectIddd[ playerid ] = CreateDynamicObject(...);


CMD:destroyob
DestroyDynamicObject(ObjectIddd[ playerid ]);


Re: Dynamic object limits - PepsiCola23 - 24.11.2016

You can set how many objects they can create .