SA-MP Forums Archive
Class Selection Screen. - 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: Class Selection Screen. (/showthread.php?tid=563953)



Class Selection Screen. - Ritzy2K - 18.02.2015

Hi all...again i come up with a nub question Sorry :3 but im also confused here

Ok when a player is sent to class selection screen... there are 3 Function to set the way he look at and where he Is standing... i forgot the exact thingy but i guess it was SetPlayerCameraLookAt... can anyone tell me the exact way to set the whole screen kinda?

Like i know the /save where the skin is gonna stand whilst selection...but how to adjust the way the camera is there i know it too tho.. but how to get its cords? help lol explain me full xd


Re: Class Selection Screen. - De4dpOol - 18.02.2015

Go where you want the camera and do /save, take x, y, and z coords from the saved file and use SetCameraPos to set its position and use SetCameraLookAt to look at the player.


Re: Class Selection Screen. - Ritzy2K - 18.02.2015

Look...how do i get the coords of SetCameraPos and SetCameraLookAt my actual ques was dis.


Re: Class Selection Screen. - HazardouS - 18.02.2015

Not sure, but this might help: https://sampwiki.blast.hk/wiki/GetPlayerCameraPos


Re: Class Selection Screen. - Ritzy2K - 18.02.2015

Yup...it can help me somehow.. :/ well yeah it can... m still incomplete tho.


Re: Class Selection Screen. - Ritzy2K - 18.02.2015

Still helps / clues / suggestions needed


Re: Class Selection Screen. - CalvinC - 18.02.2015

You want to get the coordinates for use in SetPlayerCameraLookAt etc?
You can use a map editor, such as SAMP map construction, and click "Copy CameraLookAt() coords".


Re: Class Selection Screen. - Ritzy2K - 18.02.2015

oo..:O i need the coords for like that for class selection...kinda get me? the time when we select skin. so can MTA work for gettin coords?


Re: Class Selection Screen. - dominik523 - 18.02.2015

Go and stand where you want your player to show on class selection and then go to some other other place, like few meters from the first position and save it again. First on will be "camera look at" and the other one will be camera position.


Re: Class Selection Screen. - Ritzy2K - 18.02.2015

Dominik how if i want to make the angle a bit elevated? :3