GetCameraPosition: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Server client function}}
{{Server client function}}
{{Deprecated}}
{{DeprecatedWithAlt|getCameraMatrix|}}
 
Please use [[getCameraMatrix]]


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

Revision as of 22:55, 21 October 2011

Template:DeprecatedWithAlt

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

Syntax

float float float getCameraPosition ( )

Returns

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

Example

This page lacks an example.

--Add an example here

See Also