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



Streamer - Tanush123 - 20.07.2013

Any way to make objects load fast with streamer?


Re: Streamer - Jstylezzz - 20.07.2013

What do you mean with 'load fast'?


Re: Streamer - Tanush123 - 20.07.2013

What does Sleep 1 do?


Re: Streamer - AndreT - 21.07.2013

The sleep option regulates the time period for which the server does nothing inbetween of synchronizing and its basic tasks.


Re: Streamer - iggy1 - 21.07.2013

Also if you just need the objects to load faster at a certain position. For example, to stop the player from falling through unloaded objects.

pawn Код:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
Call that before setting the players pos. It will then load the objects before moving the player.