SA-MP Forums Archive
Job help - 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: Job help (/showthread.php?tid=644423)



Job help - Maky184 - 07.11.2017

How to do when a player enters a checkpoint to freeze for example 5sec?


Re: Job help - StrikerZ - 07.11.2017

Freeze player on OnPlayerEnterCheckPoint callback and set a 5s timer to unfreeze him


Re: Job help - Kraeror - 07.11.2017

Use OnPlayerEnterCheckpoint callback for check if player is entering in checkpoint. Than use TogglePlayerControllable function for freeze and set a timer for 5 seconds to unfreeze the player
+1 REP me if I helped