SA-MP Forums Archive
Camera zoom in/out(moving) - 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 zoom in/out(moving) (/showthread.php?tid=456812)



Camera zoom in/out(moving) - martoivanov - 07.08.2013

How can I make the camera to zoom in in OnPlayerRequestClass?

Thanks in advance!


Re: Camera zoom in/out(moving) - 2KY - 07.08.2013

Experiment with InterpolateCameraPos and InterpolateCameraLookAt.

There's also tools on this forum that allow you to easily and quickly save positions and scripts that automatically write the InterpolateCamera code for you.


Re: Camera zoom in/out(moving) - martoivanov - 07.08.2013

Will this functions help me if i want to move it one time and to stay in the new position forever?


Re: Camera zoom in/out(moving) - 2KY - 07.08.2013

[ame]http://www.youtube.com/watch?v=R4xaY0cjv-o[/ame]

Yes, it will. That's an example of what the function does.


Re: Camera zoom in/out(moving) - martoivanov - 08.08.2013

Thank you very much! +1 Rep!!!