Posts: 1,429
Threads: 321
Joined: Oct 2010
Reputation:
0
Hello, How can I make it so that if a player enters an interior with CreateDynamicObject without falling before objects stream, Example: Player1 enters All Saints and falls through the objects because they never loaded in time, How can I make it so that I can avoid this?
Sorry if I did not explain too well.
Posts: 1,008
Threads: 101
Joined: Apr 2008
Reputation:
0
Freeze them using TogglePlayerControllable and with a timer, then when the timer runs out, they will unfreeze and the object would have had plenty of time to load,
example,
player enters
TogglePlayerControllable(playerid, 0);
SetTimer (customfunction, 60000, 1);
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Use Streamer_UpdateEx before the SetPlayerPos line.