SetPlayerCameraPos
From SA-MP Wiki
SetPlayerCameraPos
Sets the camera to a specific position for a player.
(playerid,Float:x,Float:y,Float:z)
| playerid | ID of the player |
| Float:x | New x-position of the camera |
| Float:y | New y-position of the camera |
| Float:z | New z-position of the camera |
This function does not return a specific value.
SetPlayerCameraPos(playerid, 652.23, 457.21, 10.84);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- SetPlayerCameraLookAt: Set where a player's camera should face.
- SetCameraBehindPlayer: Set a player's camera behind them.
