linkStaticEmitterToEntity
LINK_STATIC_EMITTER_TO_ENTITY0x651D3228960D08AFThe GTA V native LINK_STATIC_EMITTER_TO_ENTITY of the AUDIO namespace, as LS:MP client scripts call it: the global function linkStaticEmitterToEntity, in JavaScript and in Lua.
linkStaticEmitterToEntity(emitterName: string, entity: Entity): voidlinkStaticEmitterToEntity(emitterName: string, entity: Entity)Usage
JavaScript
linkStaticEmitterToEntity(emitterName, entity);Lua
linkStaticEmitterToEntity(emitterName, entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
emitterName | string | string | string |
entity | Entity | 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.
Full list of static emitters by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/staticEmitters.json
Reference
- Namespace
- Audio AUDIO
- In the game
void LINK_STATIC_EMITTER_TO_ENTITY(const char* emitterName, Entity entity)- Hash
0x651D3228960D08AF- Introduced
- Game build 505 legacy numbering
- Formerly
_LINK_STATIC_EMITTER_TO_ENTITY