SA-MP Forums Archive
Mouse controlled camera movement - 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: Mouse controlled camera movement (/showthread.php?tid=119664)



Mouse controlled camera movement - Miguel - 08.01.2010

Is it possible to change where is the cam looking at (with the mouse) after changing its pos? Like when the camera position isn't changed... Is it possible?


Re: Mouse controlled camera movement - Mike Garber - 09.01.2010

Quote:
Originally Posted by SAWC™
Is it possible to change where is the cam looking at (with the mouse) after changing its pos? Like when the camera position isn't changed... Is it possible?
What you might need is
pawn Код:
SetCameraBehindPlayer(playerid);



Re: Mouse controlled camera movement - Miguel - 09.01.2010

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by SAWC™
Is it possible to change where is the cam looking at (with the mouse) after changing its pos? Like when the camera position isn't changed... Is it possible?
What you might need is
pawn Код:
SetCameraBehindPlayer(playerid);
Not really, that would just set the camera pos behind the player, not what I wanted. As pawnstar said, it is not possible YET.