ResetPedVoice: Difference between revisions
Jump to navigation
Jump to search
(Add new feature note.) |
m (Added issue #3129) |
||
Line 21: | Line 21: | ||
setTimer(resetPedVoice, 5000, 1, localPlayer) | setTimer(resetPedVoice, 5000, 1, localPlayer) | ||
end)</syntaxhighlight> | end)</syntaxhighlight> | ||
== Issues == | |||
{{Issues| | |||
{{Issue|3129|Ped voice remains unchanged}} | |||
}} | |||
==See Also== | ==See Also== | ||
{{Client ped functions}} | {{Client ped functions}} |
Revision as of 17:24, 21 October 2023
Syntax
bool resetPedVoice ( ped thePed )
OOP Syntax Help! I don't understand this!
- Method: ped:resetVoice(...)
Required Arguments
- thePed: the ped whose voice to reset.
Returns
Returns true when the voice was successfully reset, false otherwise.
Example
addEventHandler("onClientResourceStart", resourceRoot, function() setPedVoice(localPlayer, "PED_TYPE_GANG", "VOICE_GNG_MACCER") setTimer(resetPedVoice, 5000, 1, localPlayer) end)
Issues
Issue ID | Description |
---|---|
#3129 | Ped voice remains unchanged |
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