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



Loading Map - [TMS]Legena - 15.07.2016

Guys i have a question... I made interior and when i teleport player to there map load slower and player fall down thru floor... Is there any way to improve loading map... I tought to TogglePlayerControlable when teleported and set timer to 1-2 seconds and timer would trigger TogglePlayerControlable to 1... Is that good way to improve a problem or not?


Re: Loading Map - Untonyst - 15.07.2016

Yes.


Re: Loading Map - Vince - 15.07.2016

Use Streamer_UpdateEx() to load mappings before setting a position. Also use normal objects (i.e. not dynamic ones) for flooring to minimize the chances of falling down.


Re: Loading Map - [TMS]Legena - 15.07.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
Use Streamer_UpdateEx() to load mappings before setting a position. Also use normal objects (i.e. not dynamic ones) for flooring to minimize the chances of falling down.
But i need dynamic because map must not be in normal world thats why i used dynamic.