GetPedTargetCollision

From Multi Theft Auto: Wiki
Revision as of 17:38, 30 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} This function allows retrieval of where a ped's target is blocked. It will only be blocked if there is an obstacle within a ped's target range. ==Syntax== <...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function allows retrieval of where a ped's target is blocked. It will only be blocked if there is an obstacle within a ped's target range.

Syntax

float float float getPedTargetCollision ( ped targetingPed )

Required Arguments

  • targetingPed: This is the ped whose target collision you wish to retrieve

Returns

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

Example

See Also