GetCameraTarget: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 7: Line 7:


===Required Arguments===  
===Required Arguments===  
*'''thePlayer:''' The player whose camera you wish to modify.
*'''thePlayer:''' The player whose camera you wish to receive the target of.


===Returns===
===Returns===

Revision as of 04:19, 2 October 2006

This function returns an element that corresponds to the current target of the specified player's camera (i.e. what it is following).

Syntax

element getCameraTarget ( player thePlayer )

Required Arguments

  • thePlayer: The player whose camera you wish to receive the target of.

Returns

Returns an element if the function was successful, false otherwise.

Example

See Also