27.02.2010, 07:01
the custom interior-teleport problem could be caused by the streamer: if the timer (500 ms maybe) is too low to spawn the objects (floor), then you will fall through it. so a position check is done, thats the only way to ensure you wont fall through 2 or 3 times.
btw: a simple timer of few seconds will solve that: TogglePlayerControllable(playerid,0) to freeze player for 2 seconds at teleport target, and the player wont fall anymore while the interior is being built, start a non-looping SetTimerEx() to let the timer call the TogglePlayerControllable(playerid,1) to unfreeze...
btw: a simple timer of few seconds will solve that: TogglePlayerControllable(playerid,0) to freeze player for 2 seconds at teleport target, and the player wont fall anymore while the interior is being built, start a non-looping SetTimerEx() to let the timer call the TogglePlayerControllable(playerid,1) to unfreeze...