GetPedContactElement

From Multi Theft Auto: Wiki
Revision as of 17:08, 30 March 2008 by Arc (talk | contribs)
Jump to navigation Jump to search

This function detects the element a ped is standing on. This can be a vehicle or an object.

Syntax

element getPedContactElement ( ped thePed )

Required Arguments

  • thePed: The ped of which you want to get the element he is standing on.

Returns

Returns an object or a vehicle if the ped is standing on one, false if he is touching none or an invalid element was passed.

Example

See Also