SA-MP Forums Archive
Camera turning on spawn - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Camera turning on spawn (/showthread.php?tid=67385)



Camera turning on spawn - DeerHooves - 01.03.2009

For some reason unknown to me, when I spawn as a character on my script, the camera seems to always rotate to 270, and for many of my spawns, that means the camera rotates after you spawn, instead of starting with the camera behind to player like normal. I tried using the SetCameraBehindPlayer function in OnPlayerSpawn, but that didn't work, I also double looked through my script to make sure I didn't accidentally set the camera to turn that direction, and found nothing.

What could cause this, and what can I try to fix it?