SetCameraPosition

From Multi Theft Auto: Wiki
Revision as of 04:05, 2 October 2006 by JonChappell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function allows you to move a specified player's camera to a specific location.

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.

Example

See Also