Camera isn't working
#1

I added "TogglePlayerSpectating(playerid,1);" to remove the spawn arrows, but now it won't show my camera I have set when a player connects. How can I fix this?

pawn Код:
public OnPlayerConnect(playerid){
    SetPlayerColor(playerid,-1);
    TogglePlayerSpectating(playerid,1);
    SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
    SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
}
Reply
#2

Try to move the code in OnPlayerRequestClass.
Since, Setting the player camera after player connects doesn't work.
Reply
#3

It's still not working to show the player my camera.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)