GetCameraRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{deprecated}}
{{deprecated}}
__NOTOC__  
__NOTOC__  


Line 22: Line 23:
==See Also==
==See Also==
{{Camera functions}}
{{Camera functions}}
[[Category:Incomplete]]

Revision as of 22:40, 11 April 2007

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