setPedVoiceGroupFromRaceToPvg
SET_PED_VOICE_GROUP_FROM_RACE_TO_PVG0x0BABC1345ABBFB16The GTA V native SET_PED_VOICE_GROUP_FROM_RACE_TO_PVG of the AUDIO namespace, as LS:MP client scripts call it: the global function setPedVoiceGroupFromRaceToPvg, in JavaScript and in Lua.
setPedVoiceGroupFromRaceToPvg(ped: Ped, voiceGroupHash: Hash): voidsetPedVoiceGroupFromRaceToPvg(ped: Ped, voiceGroupHash: Hash)Usage
JavaScript
setPedVoiceGroupFromRaceToPvg(ped, voiceGroupHash);Lua
setPedVoiceGroupFromRaceToPvg(ped, voiceGroupHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
voiceGroupHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Dat151RelType == 29
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_PED_VOICE_GROUP_FROM_RACE_TO_PVG(Ped ped, Hash voiceGroupHash)- Hash
0x0BABC1345ABBFB16- Introduced
- Game build 2699 legacy numbering
- Formerly
_SET_PED_VOICE_GROUP_RACE