Spectate an area - 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: Spectate an area (
/showthread.php?tid=99762)
Spectate an area -
hipy - 30.09.2009
Hi
how can you spectate an area?
I tried toggleplayerspectating, then did setplayercamerapos and lookat
but I won't spec that area I just see the standard bridge to sf
thanks in advance
Re: Spectate an area -
Calgon - 30.09.2009
You just need to:
SetPlayerCameraPos()
SetPlayerCameraLookAt()
Then you can use:
SetCameraBehindPlayer();
Re: Spectate an area -
hipy - 30.09.2009
If you do setcamerabehind player then you view the player again
or Am i wrong ?
Re: Spectate an area -
Calgon - 30.09.2009
Quote:
Originally Posted by hipy
If you do setcamerabehind player then you view the player again
or Am i wrong ?
|
Yes. That's why I posted it, so you can set the camera back. The first two functions set the camera properties.
Re: Spectate an area -
hipy - 30.09.2009
you don't have todo toggleplayerspectating?