Issues with camera position
#1

Hey. I've been trying to get the camera to stay at this position (see below) throughout both OnPlayerConnect and after the player spawns, but all my attempts have failed. I also need to disable the class selection dialogs (I know how to do that, but it messes up with the camera position).

pawn Код:
SetPlayerCameraPos(playerid, 1497.0647, -1569.8276, 67.0876);
SetPlayerCameraLookAt(playerid, 1497.0281, -1568.8251, 67.0926);
Any idea how I can accomplish my idea? I've been giving this issue my time lately but I figured it'd make more sense to seek help here.
Reply
#2

You try use TogglePlayerSpectating ?
Reply
#3

Quote:
Originally Posted by AndreProgrammer
Посмотреть сообщение
You try use TogglePlayerSpectating ?
I did. I'm using that function under OnPlayerRequestClass but that resets the player's camera position to the outskirts of Los Santos.
Reply
#4

I use for camera the function InterpolateCameraPos and works in spectating
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)