DoesPedHaveJetPack: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Needs example) |
||
Line 14: | Line 14: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the ped is carrying a jetpack, ''false'' if he is not or an invalid element was passed. | Returns ''true'' if the ped is carrying a jetpack, ''false'' if he is not or an invalid element was passed. | ||
==Example== | |||
<syntaxhighlight lang="lua"> | |||
--TODO | |||
</syntaxhighlight> | |||
==See Also== | ==See Also== | ||
{{Ped functions}} | {{Ped functions}} | ||
[[Category:Needs Example]] |
Revision as of 18:20, 18 June 2009
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.
Example
--TODO
See Also
- addPedClothes
- getPedClothes
- removePedClothes
- createPed
- getPedAmmoInClip
- getPedArmor
- getPedFightingStyle
- getPedOccupiedVehicle
- getPedOccupiedVehicleSeat
- getPedStat
- getPedTarget
- getPedTotalAmmo
- getPedWalkingStyle
- getPedWeapon
- getPedWeaponSlot
- getPedContactElement
- getValidPedModels
- isPedChoking
- isPedDead
- isPedDoingGangDriveby
- isPedDucked
- isPedHeadless
- isPedInVehicle
- isPedOnFire
- isPedOnGround
- isPedWearingJetpack
- killPed
- removePedFromVehicle
- setPedAnimation
- setPedAnimationProgress
- setPedAnimationSpeed
- setPedArmor
- setPedDoingGangDriveby
- setPedFightingStyle
- setPedHeadless
- setPedOnFire
- setPedStat
- setPedWalkingStyle
- setPedWeaponSlot
- warpPedIntoVehicle