26.06.2012, 23:16
Im trying to set different angles of the camera object, but the camera angle is still the same (45' i think). Is there any way to set custom camera angle while attaching it to a moving object? (The player state is SPECTATING)
FOUND THE SOLUTION with SetPlayerCameraLookAt, but im not sure its the most correct way. Any others?
pawn Код:
cam[playerid] = CreateObject(19300, 700.0000, -1302.0000, 100.0000, 0.0, 0.0, 90.0);
AttachCameraToObject(playerid, cam[playerid]);
MoveObject(cam[playerid], 1800.0000, -1302.0000, 100.0000, 10.0, 0.0, 0.0, 90.0);