GetCameraPosition

From Multi Theft Auto: Wiki
Revision as of 12:30, 2 October 2006 by ChrML (talk | contribs)
Jump to navigation Jump to search

This function returns the position the player's camera would have if the camera mode is fixed (see setCameraMode).

Syntax

float float float getCameraPosition ( player thePlayer )

Required Arguments

  • thePlayer: The player whose camera position you wish to obtain.

Returns

Returns three floats containing the x, y and z co-ordinate values if the function was successful, false otherwise.

Example

See Also