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



help - Mystique - 28.12.2009

Hey I was wondering if anybody could explain to me how to make that a players goes to spectate mode when he is admin jailed.. Like he could see a part of ls but cant move since he is in spectate mode.


Re: help - dice7 - 28.12.2009

https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt

and to reset
https://sampwiki.blast.hk/wiki/SetCameraBehindPlayer


Re: help - Mystique - 28.12.2009

so would this also work if i want to make a tutorial after the guy registered?


Re: help - Mystique - 28.12.2009

sorry .. forgot to ask... where does the player go when he is admin jailed then? Is he still there so that i must script that he is teleported too?


Re: help - Dark_Kostas - 28.12.2009

He will be there, and he will be able to move.
So use these
Quote:
Originally Posted by dice7
And TogglePlayerControllable


Re: help - Mystique - 28.12.2009

ok thx