SA-MP Forums Archive
Can't change the camera position.. - 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: Can't change the camera position.. (/showthread.php?tid=259754)



Can't change the camera position.. - [RVRP]Tyler - 05.06.2011

I'm working on a dialog-based RP test after registration and basically I want it to set the player in a remote location, freeze the player, and put the camera at a certain location.

However, with the code I have what it does is move the player to the location I want, freeze it, but it doesn't move the camera so I am just staring at the back of my character when I should be staring at the location I put in SetPlayerCameraPos.

Код:
	    SetPlayerPos(playerid, 601.4870,-570.2106,16.5879);
	    TogglePlayerControllable(playerid, 0);
	    SetPlayerCameraPos(playerid, 561.2822,-482.0255,36.5165);
(Then the dialog here, etc..)