GetCameraPosition

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

This function returns the current position of the specified player's camera.

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