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



MAX Dynamic Objects - NoteND - 31.07.2018

Hey!

Im just wondering if anyone knows a way on how to get around max dynamic objects that can be streamed in gta.. I have a function that creates dynamic objects around the world completely randomly using map andreas, but for example, it is stable if I create only 500-1000 of them at once, if I do more than that it crashes, but i'd like to make 10000 or 20000 since thats what I found perfect for whole map.. any ideas how to make that many without server crash? again, im using dynamicobject from icognitos streamer


Re: MAX Dynamic Objects - JasonRiggs - 31.07.2018

As far as I believe it's nothing related to the streamer, its just something related to overloading the script asking him to create 10k or 20k objects at the same time, So he'll just crash, try making a timer or something that creates 1k objects every 5 seconds, until you reach 10k or 20k.. This would work I guess.


Re: MAX Dynamic Objects - Jyothiranand - 31.07.2018

wiki.sa-mp.com/wiki/Limits