//InterpolateCameraPos(playerid, 694.9729, -2080.0005, 13.7564, 801.2624, -2079.0005, 13.7564, 2000, CAMERA_MOVE);//#1
//InterpolateCameraPos(playerid, 801.2624, -2079.0005, 13.7564, 801.2624, -2019.7043, 13.7564, 15000, CAMERA_MOVE);//#2
//InterpolateCameraPos(playerid, 801.2624, -2019.7043, 13.7564, 834.8059, -2019.7043, 13.7564, 25000, CAMERA_MOVE);//#3
//InterpolateCameraPos(playerid, 834.8059, -2019.7043, 13.7564, 834.8059, -2037.1066, 13.7564, 35000, CAMERA_MOVE);//#4
i have set some "InterpolateCameraPos" , but the player camera doesnt follow the camera_move ..
how can i make the player camera to follow the "InterpolateCameraPos" ? my codes : pawn Код:
|
InterpolateCameraPos(playerid, 694.9729, -2080.0005, 13.7564, 801.2624, -2079.0005, 13.7564, 2000, CAMERA_MOVE);//#1
InterpolateCameraPos(playerid, 801.2624, -2079.0005, 13.7564, 801.2624, -2019.7043, 13.7564, 15000, CAMERA_MOVE);//#2
InterpolateCameraPos(playerid, 801.2624, -2019.7043, 13.7564, 834.8059, -2019.7043, 13.7564, 25000, CAMERA_MOVE);//#3
InterpolateCameraPos(playerid, 834.8059, -2019.7043, 13.7564, 834.8059, -2037.1066, 13.7564, 35000, CAMERA_MOVE);//#4
TogglePlayerSpectating(playerid, true);
//Put it under OnPlayerConnect
//And Put this under OnPlayerRequestClass or when player logged in or spawned
TogglePlayerSpectating(playerid, false);