SA-MP Forums Archive
How to get camera coords ? - 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: How to get camera coords ? (/showthread.php?tid=171347)



How to get camera coords ? - martynas - 26.08.2010

Hi,


How can i get Camera coords?

SetPlayerCameraPos(playerid, 3200.0, 500.0, 1700.0);
SetPlayerCameraLookAt(playerid, 3240.34, 540.122, 1730.35);

for these functions?

i tried with /save but wrong coords.

THANKS


Re: How to get camera coords ? - Sergei - 26.08.2010

GetPlayerPos = SetPlayerCameraLookAt
GetPlayerCameraPos = SetPlayerCameraPos

Or firstly go at the place where you want your camera to stand and /save pos, then go to another palce where you want to look at and /save it.