SetCameraBehindPlayer
Description:
Function SetCameraBehindPlayer restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.
Parameters:
(playerid)
int | playerid | The player you want to restore the camera for. |
Return Values:
- 1: The function was executed successfully.
- 0: The function failed to execute. This means the player specified does not exist.
Examples:
SetCameraBehindPlayer(playerid);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerCameraPos: Set a player's camera position.
- SetPlayerCameraLookAt: Set where a player's camera should face.