SA-MP Forums Archive
Tutorial Help with Setting Cameras - 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: Tutorial Help with Setting Cameras (/showthread.php?tid=311694)



Tutorial Help with Setting Cameras - ShawnMiller1337 - 17.01.2012

Alright so the one thing I never could figure out with scripting is how to set camera's and such like this:
pawn Код:
SetPlayerPos(playerid,-2014.2869,177.1251,21.0183);
SetPlayerCameraPos(playerid,-2031.1957,138.1263,28.8359);
SetPlayerCameraLookAt(playerid,-2031.1957,138.1263,28.8359);
I'm trying to make a tutorial and I can't seem to figure out how to angle the camera pos and look at right. Any help anyone ?


Re: Tutorial Help with Setting Cameras - Gerira Gaijin - 17.01.2012

Use the 0.3d Editor (somewhere in the Tools section). There you can save the camera information, like position, and looking point. It's really easy.


Re: Tutorial Help with Setting Cameras - ShawnMiller1337 - 17.01.2012

If you can find me a link to that I would more then like to give you some +rep


Re: Tutorial Help with Setting Cameras - Gerira Gaijin - 17.01.2012

https://sampforum.blast.hk/showthread.php?tid=282801

In the camera tab, there's a button Save current camera.


Re: Tutorial Help with Setting Cameras - ShawnMiller1337 - 17.01.2012

Thank you!