camera behind - 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)
+--- Thread: camera behind (
/showthread.php?tid=330091)
camera behind -
Deathh - 31.03.2012
so i want the camera to show my player a place, but it keeps showing the back view of it
i tried setcamerabehindplayer but that didint work either.
Re: camera behind -
Seven_of_Nine - 01.04.2012
You meant X,Y,Z coords?
Then try with
Код:
SetPlayerCameraPos(playerid,Float:x,Float:y,Float:z)
More info
here
Re: camera behind -
Deathh - 01.04.2012
I kno how to use them .. My problem is, my XYZ floats are fine but IN-GAME the location shows backwards.
Re: camera behind -
Joshb93 - 01.04.2012
Ok, you want to get the XYZ coords of the position of the camera, and the XYZ coords you want the camera to look at, using:
SetPlayerCameraPos()
and
SetPlayerCameraLookAt()
EX: (Me and my computer)
I would get MY XYZ coords, which will be SetPlayerCameraPos()
and the COMPUTERS XYZ coords, which will be SetPlayerCameraLookAt()
Therefore, making me the camera's position, with me looking at the computer. Understand?
Re: camera behind -
Deathh - 01.04.2012
can u give me a deeper conclusion? thanks
Re: camera behind -
Joshb93 - 01.04.2012
Quote:
Originally Posted by Deathh
can u give me a deeper conclusion? thanks 
|
Deeper conclusion? Are you serious? That should have explained everything. Try using
this