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



Camera's Problem - AnonScripter - 17.09.2013

How to make the camera look at the right place ?
When i enter an interior, the camera looks at the exit's checkpoint, how to make it looks at the right place!! -.-


Re: Camera's Problem - jakejohnsonusa - 17.09.2013

Easy fix, simply add the following line and the camera will be set to normal!

pawn Код:
SetCameraBehindPlayer(playerid);



Re: Camera's Problem - AnonScripter - 17.09.2013

it worked with "SetPlayerFacingAngle"
Thank you


Re: Camera's Problem - jakejohnsonusa - 17.09.2013

No problem!

Just a head's up:

SetPlayerFacingAngle will just set the way the player faces (North, East, South, and West).
SetCameraBehindPlayer will just reset the camera view to go behind the player.