SetCameraLookAt
Jump to navigation
Jump to search
This function allows you to set a specified player's camera to look at a specific point when the camera is fixed (see setCameraMode).
Syntax
bool setCameraLookAt ( 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 point to be looked at.
- y: The y co-ordinate of the point to be looked at.
- z: The z co-ordinate of the point to be looked at.
Returns
Returns a bool with a value of true if the function was successful, false otherwise.