_SET_VOFX_PED_VOICE
Hash
0x2703EFB583F0949ARuntime name
SetVofxPedVoiceNamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_VOFX_PED_VOICE(Ped ped, Hash voice);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
voice | Hash | — |
Returns void
Description
Hashes: VOFX_PLAYER_MALE01, VOFX_PLAYER_MALE02, VOFX_PLAYER_MALE03, VOFX_PLAYER_FEMALE01, VOFX_PLAYER_FEMALE02, VOFX_PLAYER_FEMALE03
Usage
SetVofxPedVoice(ped, voice)
-- always works, by hash
Citizen.InvokeNative(0x2703EFB583F0949A, ped, voice)JavaScript and C#
SetVofxPedVoice(ped, voice);
// by hash
Citizen.invokeNative('0x2703EFB583F0949A', ped, voice);Function.Call((Hash)0x2703EFB583F0949A, ped, voice);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.