GetCameraMatrix

From Multi Theft Auto: Wiki
Revision as of 05:49, 16 March 2008 by Erorr404 (talk | contribs) (New page: __NOTOC__ {{Server client function}} This function gets the position of the camera and the point it is facing. Note: The server-side version of this function returns the last camera matri...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function gets the position of the camera and the point it is facing.

Note: The server-side version of this function returns the last camera matrix that was set by the server, and thus does not necessarily indicate the current matrix of the camera (since it may have been changed client-side).

Syntax

Click to collapse [-]
Server
bool getCameraMatrix ( player thePlayer )

Required Arguments

  • thePlayer: The player whose camera matrix is to be returned.
Click to collapse [-]
Client
bool getCameraMatrix ( )

Required Arguments

None.

Returns

Returns true if the argument are valid, false otherwise.

Example

See Also