GetPedTargetEnd

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

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

Syntax

float float float getPedTargetEnd ( ped targetingPed )

Required Arguments

  • targetingPed: The ped who is targeting whose target end you wish to retrieve

Returns

Returns three floats, x,y,z, representing the position where the ped's target ends according to his range, or false if it was unsuccessful.

Example

See Also