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



Limits - Krauser123 - 17.02.2017

I'm trying to add a map using CreateObject but the half of the map is not found IG. And when I switch to CreateDynamicObject the map is streaming slowly like If I'm going to fall.. is there any solution ?


Re: Limits - Hansrutger - 17.02.2017

I tend to set floors and ground's as CreateObject and everything else CreateDynamicObject.


Re: Limits - Krauser123 - 17.02.2017

I don't think so because It's the same it's just I don't know can't describe it -.-


Re: Limits - morris91 - 17.02.2017

Maybe use Streamer_UpdateEx
Код:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
and if still a little slow use a timer to freeze player for 3 or so seconds untill objects load fully.


Re: Limits - Krauser123 - 17.02.2017

Quote:
Originally Posted by morris91
Посмотреть сообщение
Maybe use Streamer_UpdateEx
Код:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
and if still a little slow use a timer to freeze player for 3 or so seconds untill objects load fully.
It's not just about slowing but about streaming if you're away from the object it disappears.


Re: Limits - Sew_Sumi - 17.02.2017

Good solution is to freeze the player so that the map has time to stream.

Another is to stagger out the stream distances for larger objects, to smaller objects. Don't need all those tiny objects spawning at 100 meters...