SA-MP Forums Archive
Character Selection Camera - 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: Character Selection Camera (/showthread.php?tid=417006)



Character Selection Camera - Lemonaidz - 19.02.2013

I need help with my Camera Position, It works Great, its just that my Characters aint facing towards the screen, ive played around with it a bit and still nothing, (I'm a newbie at scripting), Any help will be Greatly Appreciated.

My Script:

Quote:

public OnPlayerRequestClass(playerid, classid)


{
SetPlayerPos(playerid,2437.3252,1483.0380,10.8203, 142);
SetPlayerFacingAngle(playerid,6693);
SetPlayerCameraPos(playerid,2434.4878,1480.1946,10 .8203,312);
SetPlayerCameraLookAt(playerid,2437.3252,1483.0380 ,10.8203,142);
return 1;
}




Re: Character Selection Camera - Roko_foko - 19.02.2013

Go in game, put your character on place you want to place him. Type /save and you will get a line in savedpositions.txt

Go there and copy the 4th real ( float - number that has dot inside of it - ex: 23.3456 ) number and that is the facing angle you want. (:


Re: Character Selection Camera - Lemonaidz - 19.02.2013

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
Go in game, put your character on place you want to place him. Type /save and you will get a line in savedpositions.txt

Go there and copy the 4th real ( float - number that has dot inside of it - ex: 23.3456 ) number and that is the facing angle you want. (:
Thx Heaps, I knew how to do it, i just didn't know what Real / Float it was. So thx again