SA-MP Forums Archive
Sa-mp debug command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Sa-mp debug command (/showthread.php?tid=311145)



Sa-mp debug command - davve95 - 15.01.2012

Hi!.


I forgot wich command to save camera angle in sa-mp..


Thanks.


Re: Sa-mp debug command - MP2 - 15.01.2012

https://sampwiki.blast.hk/wiki/GetPlayerCameraPos

You can't get the coordinates set with SetPlayerCameraLookAt. You'd have to use variables.


Re: Sa-mp debug command - davve95 - 15.01.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/GetPlayerCameraPos

You can't get the coordinates set with SetPlayerCameraLookAt. You'd have to use variables.
Thanks, But I don't mean where a players camera is I want the command so you can save the camera angle..
To my class selection.


Re: Sa-mp debug command - SVRP - 15.01.2012

The angle the player looks at is the 4th float variable you get, (the 5th one) when you /save.
Do you mean this?


Re: Sa-mp debug command - SupremeCommander - 15.01.2012

It's /save
Goto The fifth parameter is the Float:angle.



Re: Sa-mp debug command - NessaHD - 15.01.2012

I always type /save angle.

/save does store it, and angle is the description (in case i should get confused). You can change angle to anything you want. And i dont think its the fifth parameter, i bet its the fourth one.. X, Y, Z, A


Re: Sa-mp debug command - SVRP - 15.01.2012

CruteX, you get the skin as the first parameter, followed by X,Y,Z and A.
You get:
AddPlayerClass(Skin, X, Y, Z, A..)