DoesPedHaveJetPack: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Server client function}}


Checks whether or not a ped currently has a jetpack.
Checks whether or not a ped currently has a jetpack.

Revision as of 19:58, 25 May 2008

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