SA-MP Forums Archive
Fall at teleport - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Fall at teleport (/showthread.php?tid=109978)



Fall at teleport - patchkinson - 23.11.2009

Hey, i have some teleports to maps on the sea or air stunts, but they fall through it or to water.
is there anyway to make the player like frozen for 4 secs then it fallin to the map, like teleportin to the X Y Z but freezing at the X Y Z for 3 secs then unfreezin, so the map is loaded!
THanks


Re: Fall at teleport - MenaceX^ - 23.11.2009

pawn Код:
TogglePlayerControllable(playerid,0);
SetTimerEx("Unfreeze",5000,0,"d",playerid);
pawn Код:
forward Unfreeze(i); public Unfreeze(i) TogglePlayerControllable(i,1);



Re: Fall at teleport - patchkinson - 23.11.2009

Very NICE!! thanks


Re: Fall at teleport - MenaceX^ - 23.11.2009

Very simple though.