OnPlayerRequestClass camera angle
#1

Hi!


I forgot to learn camera angles when I learned Pawno..


But now when I need it I get wrong angle..

I think you will understand when u look up my code..

I want the camera to be front of the house.

pawn Код:
SetPlayerPos(playerid,1966.2806,1936.0837,127.5821);
SetPlayerCameraPos(playerid,2034.5992,1781.9849,160.6893);
SetPlayerCameraLookAt(playerid,2034.5992,1781.9849,160.6893);
Thanks alot!..
Reply
#2

Quote:

SetPlayerCameraLookAt(playerid,2034.5992,1781.9849 ,160.6893);
SetPlayerCameraPos(playerid,2034.5992,1781.9849,16 0.6893);

You want camera to look at their position or at Player position?
this is correct line (you want that camera is looking at player's position!):
pawn Код:
SetPlayerCameraLookAt(playerid,1966.2806,1936.0837,127.5821);
Reply
#3

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
You want camera to look at their position or at Player position?
this is correct line (you want that camera is looking at player's position!):
pawn Код:
SetPlayerCameraLookAt(playerid,1966.2806,1936.0837,127.5821);
I don't know exactily, but thanks alot I gonna try it!.
Reply
#4

Just use JernejL's map editor. Click View tab and move your camera. Then click Copy Camera LookAt() Coords and paste it in your script.
Reply
#5

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Just use JernejL's map editor. Click View tab and move your camera. Then click Copy Camera LookAt() Coords and paste it in your script.
Okay nice idea! Thanks alot!..


Edit: I can't see skins on classSelection :S...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)