Cam 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)
+--- Thread: Cam Position (
/showthread.php?tid=542084)
Cam Position -
ShoortyFl - 16.10.2014
I need coordinates for this cam position, thanks.
Re: Cam Position -
austin070 - 16.10.2014
EDIT: wrong coords
Re: Cam Position -
RockyGamer - 16.10.2014
I don't now is it rigth, i found it on one post.
Camera Pos; X: 1093.000000 Y: -2036.000000 Z: 90.000000
Camera LookAt; X: -0.825859 Y: 0.557950 Z: -0.081537
Re: Cam Position -
ShoortyFl - 17.10.2014
Well, i did put that under onplayerconnect as
SetPlayerPos(playerid, 1093.000000, -2036.000000, 90.000000);
SetPlayerCameraPos(playerid, 1093.000000, -2036.000000, 90.000000);
SetPlayerCameraLookAt(playerid, -0.825859, 0.557950, -0.081537);
but i still get to this cam pos:
Re: Cam Position -
dominik523 - 17.10.2014
Add this under OnGameModeInit/OnFilterScriptInit:
Code:
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
Re: Cam Position -
ShoortyFl - 17.10.2014
Nope.
Re: Cam Position -
RockyGamer - 17.10.2014
Well, than save that position and save this for SetCameraLookAt:
https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector
Re: Cam Position -
ShoortyFl - 17.10.2014
Well I've just found out that no matter what cam position i put it will always return me to this position, everything should work cause the code is written perfectly, which means that something else is the problem.
Re: Cam Position -
ShoortyFl - 17.10.2014
Anyone ?