GetPedTargetEnd: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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 ...)
(No difference)

Revision as of 17:35, 30 March 2008

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

Shared