SA-MP Forums Archive
Pop-in 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: Pop-in objects (/showthread.php?tid=647582)



Pop-in objects - Corin - 07.01.2018

Hello everyone, I'm creating my server and on the server there are some maps, and each map has an average of 3000 objects and the objects are pop-in, they are loading at once and it's popping up like a popping popcorn, how can I solve this ?

I'm using CreateDynamicObject and I've put this function, improved little

Код:
Streamer_VisibleItems(STREAMER_TYPE_OBJECT, 700);



Re: Pop-in objects - jop9888 - 07.01.2018

Lower streaming distance i would say, and maybe even increase that visible item count a little more.

Problem is that the streamer has more objects in its stream distance than it is allowed to stream.
So instead of for example the 900 objects you should see, you only see 700, now when you move along the map, some objects that didnt get stream might get closer, and some that dit get streamed get further away, so the streamer plugin hides the furthest one, and reveals the closest.