SA-MP Forums Archive
X Y and Z help needed! - 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: X Y and Z help needed! (/showthread.php?tid=81185)



X Y and Z help needed! - laser50 - 08.06.2009

hi, i was bussy makeing something but then i had a mistake,

Код:
SetPlayerPos(playerid, 2486.9871,-2004.8689,13.2813);
	SetPlayerCameraPos(playerid, 2486.9871,-2004.8689,13.2813);
	SetPlayerCameraLookAt(playerid, 2486.9871,-2004.8689,13.2813);
thats my code, can someone make it a little more to the Left please? i will appreciate it.


Re: X Y and Z help needed! - Gamer007 - 08.06.2009

Umm, just go to the place you want camera to be and type /save input coordinates into setplayercamerapos and to lookat just leave it


Re: X Y and Z help needed! - laser50 - 08.06.2009

i did that, but it fcking keeps watching the wrong side :@



Re: X Y and Z help needed! - Correlli - 08.06.2009

Try to change X or Y coord to +/-, i'm not sure which one is for left/right and which one is for forward/backward, i forgot.


Re: X Y and Z help needed! - laser50 - 08.06.2009

i got this new one:

Код:
SetPlayerPos(playerid, 2485.9525,-2015.5619,13.3374);
	SetPlayerCameraPos(playerid, 2485.9525,-2015.5619,13.3374);
	SetPlayerCameraLookAt(playerid, 2485.9525,-2015.5619,13.3374);
the whole crappy thing wont go to the left :S

please help me, i dont know how to fix it


Re: X Y and Z help needed! - laser50 - 09.06.2009

I Fixed it!