[HELP!] OnPlayerRequestClass
#1

Whenever someone tries to look at the class's, it show's this:


My pawn of it is:
pawn Код:
SetPlayerPos(playerid, 1975.203002, 3779.311523, -50.243506);
    SetPlayerCameraPos(playerid, 1975.203002, 3779.311523, 100.243506);
    SetPlayerCameraLookAt(playerid, 1975.203002, 3779.311523, -0.243506);
Please help.. I can't get it to actually show the player. If someone could help me, that would be great, as I am clueless of what to do. (I'm not a bad scripter, I just can't figure this out!).
Reply
#2

Bad coordinates probably... Also nice hack you got there
Reply
#3

Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
Bad coordinates probably... Also nice hack you got there
Can you give me some good coordinates?
Reply
#4

Quote:
Originally Posted by Dubya
Посмотреть сообщение
Can you give me some good coordinates?
Give the coordinates to where? Where do you want the camera to face?
Reply
#5

Quote:
pawn Код:
SetPlayerPos(playerid, 1975.203002, 3779.311523, -50.243506);
    SetPlayerCameraPos(playerid, 1975.203002, 3779.311523, 100.243506);
    SetPlayerCameraLookAt(playerid, 1975.203002, 3779.311523, -0.243506);
Please help.. I can't get it to actually show the player. If someone could help me, that would be great, as I am clueless of what to do. (I'm not a bad scripter, I just can't figure this out!).

You are a genius. You posted your answer. Just take a look at your Z coordinates - the player is 50 metres below the point the camera is facing, while the camera itself is 100 metres above sea level.

FAIL
Reply
#6

I know... I have tried different Locations, and they still didn't work. I want someone to give me Working locations.
Reply
#7

If you cannot do it yourself, then take this:
pawn Код:
SetPlayerPos(playerid, 268.4988,1884.0615,-30.0938);
    SetPlayerFacingAngle(playerid, 184.2539);
    SetPlayerCameraPos(playerid, 268.5090,1880.9513,-30.3906);
    SetPlayerCameraLookAt(playerid, 268.4988,1884.0615,-30.0938);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)