Custom interior - 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: Custom interior (
/showthread.php?tid=618796)
Custom interior -
yvoms - 09.10.2016
Hello,
I've been using a custom interior for the bank, but it seems players fall trough the map when entering the checkpoint due to the map not entirely being loaded, would it be wise to freeze the player for 1 second on entering the checkpoint using TogglePlayerControlable? since it needs that time to load, i have a streamer applied however i have no idea on what else to do.
Re: Custom interior -
CannonBolt - 09.10.2016
Did you set the player's interior to 0 mapped interiors are 0 but default
Код:
SetPlayerInterior(playerid,0);
Re: Custom interior -
yvoms - 09.10.2016
I mapped it myself, made it in interior 5 :P
Re: Custom interior -
Vince - 09.10.2016
Streamer_UpdateEx to render objects before setting position. You can also put one normal solid object underneath but freezing is extremely annoying, especially to those that do have good computers.
Re: Custom interior -
yvoms - 09.10.2016
Streamer_UpdateEX, do i call that before warping the player or after?
Re: Custom interior -
CannonBolt - 09.10.2016
Quote:
Originally Posted by yvoms
Streamer_UpdateEX, do i call that before warping the player or after?
|
As vince's offline and you need this,try both and see which works.
Re: Custom interior -
ReshiramZekrom - 10.10.2016
Or you can use "CreateObject" instead of "CreateDynamicObject" just to the object used as floor at the position of the checkpoint