SA-MP Forums Archive
Camera Move - 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: Camera Move (/showthread.php?tid=305813)



Camera Move - ZmaXy - 23.12.2011

How to make a camera that moves?

Like this:

[ame]http://www.youtube.com/watch?v=FkrqSgx4tRo[/ame]

but to go in one direction...


AW: Camera Move - Nero_3D - 24.12.2011

You need a very faster Timer which changes the camera constantly

Main problem is that sa-mp is single threaded and this timer would hang the server if more people would use it

The coding isnt difficult, just SetPlayerCameraPos and SetPlayerCameraLookAt in some timer

The movement you could do with calulations or by input by GetPlayerKeys