SetPedHeadless: Difference between revisions
Jump to navigation
Jump to search
(amended arguement description so that it makes sense) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Server client function}} | ||
With this function, you can set if a ped has a head or not. | With this function, you can set if a ped has a head or not. | ||
==Syntax== | ==Syntax== |
Revision as of 22:51, 1 March 2009
With this function, you can set if a ped has a head or not.
Syntax
bool setPedHeadless ( ped thePed, bool headState )
Required Arguments
- thePed: The ped to check.
- headState: head state, use true if you want the ped be headless, use false to give back the head.
Returns
Returns true if successful, false otherwise
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