DoesPedHaveJetPack

From Multi Theft Auto: Wiki
Revision as of 17:12, 30 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Checks whether or not a ped currently has a jetpack. ==Syntax== <syntaxhighlight lang="lua"> bool doesPedHaveJetPack ( ped thePed ) </syntaxhighlight> ===Required Arguments=== *'''the...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Checks whether or not a ped currently has a jetpack.

Syntax

bool doesPedHaveJetPack ( ped thePed )

Required Arguments

  • thePed: the ped you want to check

Returns

Returns true if the ped is carrying a jetpack, false if he is not or an invalid element was passed.

See Also