SA-MP Forums Archive
Move camera after SetPlayerCameraPos - 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: Move camera after SetPlayerCameraPos (/showthread.php?tid=83139)



Move camera after SetPlayerCameraPos - pascallj - 22.06.2009

Hello,

I have a short question, I think. When somebody spawns I this to set the camera in right position:

Код:
 	SetPlayerCameraPos(playerid,1685.8766,-2099.0007,13.8343);
  SetPlayerCameraLookAt(playerid,1688.8766,-2099.0007,13.8343);
But then you can't move the camera anymore. How can I fix this?

Thanks for your help!


Re: Move camera after SetPlayerCameraPos - Joe Staff - 22.06.2009

SetCameraBehindPlayer(playerid); It's on the wiki


Re: Move camera after SetPlayerCameraPos - pascallj - 23.06.2009

Many thanks! It worked!

I always look on the Wiki, but i did't know where to look for.

Sorry.