GetPlayerTargetStart

From Multi Theft Auto: Wiki
Revision as of 18:23, 17 November 2011 by Winky- (talk | contribs) (Removed needs example, function deprecated)
Jump to navigation Jump to search

Template:DeprecatedWithAlt

This function allows retrieval of the position a player's target range begins, when he is aiming with a weapon.

Syntax

float float float getPlayerTargetStart ( player targetingPlayer )

Required Arguments

  • targetingPlayer: The player whose target start you wish to retrieve

Returns

Returns three floats, x,y,z, representing the position where the player's target starts, or false if it was unsuccessful.

Example

This page does not have an example

--add an example here

See Also