GetPedTargetStart

From Multi Theft Auto: Wiki
Revision as of 17:34, 30 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} This function allows retrieval of the position a ped's target range begins, when he is aiming with a weapon. ==Syntax== <syntaxhighlight lang="lua"> float float float getP...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

float float float getPedTargetStart ( ped targetingPed )

Required Arguments

  • targetingPed: The ped whose target start you wish to retrieve

Returns

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

Example

See Also