SetCameraPosition
Jump to navigation
Jump to search
This function allows you to move a specified player's camera to a specific location if it is fixed (see setCameraMode).
Syntax
bool setCameraPosition ( player thePlayer, float x, float y, float z )
Required Arguments
- thePlayer: The player whose camera you wish to modify.
- x: The x co-ordinate of the new position.
- y: The x co-ordinate of the new position.
- z: The x co-ordinate of the new position.
Returns
Returns a bool with a value of true if the function was successful, false otherwise.