addEntityToAudioMixGroup
ADD_ENTITY_TO_AUDIO_MIX_GROUP0x153973AB99FE8980The GTA V native ADD_ENTITY_TO_AUDIO_MIX_GROUP of the AUDIO namespace, as LS:MP client scripts call it: the global function addEntityToAudioMixGroup, in JavaScript and in Lua.
addEntityToAudioMixGroup(entity: Entity, groupName: string, p2: number): voidaddEntityToAudioMixGroup(entity: Entity, groupName: string, p2: number)Usage
JavaScript
addEntityToAudioMixGroup(entity, groupName, p2);Lua
addEntityToAudioMixGroup(entity, groupName, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
groupName | string | string | string |
p2 | float | number | number |
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.
All found occurrences in b678d:
https://pastebin.com/ceu67jz8
Reference
- Namespace
- Audio AUDIO
- In the game
void ADD_ENTITY_TO_AUDIO_MIX_GROUP(Entity entity, const char* groupName, float p2)- Hash
0x153973AB99FE8980- Formerly
_DYNAMIC_MIXER_RELATED_FN