IsPedInVehicle

From Multi Theft Auto: Wiki
Revision as of 17:10, 30 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Checks whether or not a given ped is currently in a vehicle. ==Syntax== <syntaxhighlight lang="lua"> bool isPedInVehicle ( ped thePed ) </syntaxhighlight> ===Required Arguments=== *''...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Checks whether or not a given ped is currently in a vehicle.

Syntax

bool isPedInVehicle ( ped thePed )

Required Arguments

  • thePed: the ped you want to check.

Returns

Returns true if the ped is in a vehicle, false if he is on foot or an invalid element was passed.

See Also