GetCameraRotation

From Multi Theft Auto: Wiki
Revision as of 22:40, 11 April 2007 by Ransom (talk | contribs)
Jump to navigation Jump to search
Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does.

OBSOLETED!

This function returns the rotation the specified player's camera would have if it's fixed (see setCameraMode).

Syntax

float float float getCameraRotation ( player thePlayer )

Required Arguments

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

Returns

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

Example

See Also