SetPedAudioType: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} Sets a ped's audio type. ==Syntax== <syntaxhighlight lang="lua">bool setPedAudioType ( ped thePed, string audio )</syntaxhighlight> ===Required Arguments=== *'''thePed:''' the ped whos...) |
No edit summary |
||
Line 14: | Line 14: | ||
**PED_TYPE_GANG | **PED_TYPE_GANG | ||
**PED_TYPE_GFD | **PED_TYPE_GFD | ||
===Returns=== | ===Returns=== |
Revision as of 17:53, 30 November 2008
Sets a ped's audio type.
Syntax
bool setPedAudioType ( ped thePed, string audio )
Required Arguments
- thePed: the ped whose audio type to change.
- audio: the name of the audio type to set. Possible values are:
- PED_TYPE_GEN
- PED_TYPE_EMG
- PED_TYPE_PLAYER
- PED_TYPE_GANG
- PED_TYPE_GFD
Returns
Returns true if the voice type was set successfully, false otherwise.
See Also
- canPedBeKnockedOffBike
- getPedAnalogControlState
- getPedAnimation
- getPedBonePosition
- getPedCameraRotation
- getPedControlState
- getPedMoveState
- getPedOxygenLevel
- getPedSimplestTask
- getPedTargetCollision
- getPedTargetEnd
- getPedTargetStart
- getPedTask
- getPedVoice
- getPedWeaponMuzzlePosition
- givePedWeapon
- isPedBleeding
- isPedDoingTask
- isPedReloadingWeapon
- isPedTargetingMarkerEnabled
- setAnalogControlState
- setPedAimTarget
- setPedAnalogControlState
- setPedBleeding
- setPedCameraRotation
- setPedCanBeKnockedOffBike
- setPedControlState
- setPedEnterVehicle
- setPedExitVehicle
- IsPedFootBloodEnabled
- setPedFootBloodEnabled
- setPedLookAt
- setPedOxygenLevel
- setPedTargetingMarkerEnabled
- setPedVoice
- Shared
- 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