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



Camera Problem - -=Dar[K]Lord=- - 25.04.2013

Guys i am making a command where the player can proceed where he looks at ... but i dont know how to do it i mean hes in air and i want him to proceed where he looks.. its like superman thing....


Re: Camera Problem - Alex Magaсa - 25.04.2013

Here:
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetCameraBehindPlayer
https://sampwiki.blast.hk/wiki/GetPlayerCameraPos
https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector

Also if u will get errors give us the CMD Code to fix it


Re: Camera Problem - -=Dar[K]Lord=- - 25.04.2013

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
Well i am little weak at cameralookats and all can u explain me what should i exactly do?


Re: Camera Problem - Bleach79 - 25.04.2013

Dude i think you can make the command by putting the setcameralookat x,y
like that i dont know correctly about this script


Re: Camera Problem - Avi Raj - 25.04.2013

Hmm, if you bad at that, use this FS :-
https://sampforum.blast.hk/showthread.php?tid=140360
Follow steps and copy the SetPlayerFacingAngle from Scriptfiles > txt.
Then paste it where you want.