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



Camera class section - samp_boy - 12.12.2014

hello guys well i can't find a filescripts that can change the camera class view can you help me ?


Re: Camera class section - Sledgehammer - 12.12.2014

SetPlayerCameraPos and SetPlayerCameraLookAt should do the trick.


Re : Camera class section - samp_boy - 12.12.2014

i saw an fs before i can't find it! i need it..


Re: Camera class section - Sledgehammer - 12.12.2014

Care to elaborate on what your trying to do?

Are you trying to set a players camera angle/ view on OnPlayerRequestClass?


Re : Camera class section - samp_boy - 12.12.2014

Код:
SetPlayerPos(playerid, 2416.0110,-51.3177,28.1535);
	SetPlayerFacingAngle(playerid,22.4579);
	SetPlayerCameraPos(playerid, 2412.3711,-39.9486,28.8258);
	SetPlayerCameraLookAt(playerid, 2416.0110,-51.3177,28.1535);
Like this


Re : Camera class section - samp_boy - 12.12.2014

found it: https://sampforum.blast.hk/showthread.php?tid=140360