27.11.2011, 16:48
use a timer to freeze yourself for so many seconds to give the objects sometime to load this is what i do and works fine for me
in you teleport cmd put this
at the bottom of your script
and this below it
in you teleport cmd put this
Код:
Freeze(playerid, 5000);
Код:
stock Freeze(playerid, time) { TogglePlayerControllable(playerid, false); SetTimerEx("Unfreeze", time, false, "i", playerid); }
Код:
forward Unfreeze(playerid); public Unfreeze(playerid) { TogglePlayerControllable(playerid, true); return 1; }