RedM Natives

SET_STATIC_EMITTER_ENABLED

Hash0x399D2D3B33F1B8EB
Runtime nameSetStaticEmitterEnabled
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x399D2D3B33F1B8EB

Signature

void SET_STATIC_EMITTER_ENABLED(const char* emitterName, BOOL toggle);

Parameters

NameTypeDescription
emitterNameconst char*—
toggleBOOL—

Returns void

Usage

Lua
SetStaticEmitterEnabled(emitterName, toggle)

-- always works, by hash
Citizen.InvokeNative(0x399D2D3B33F1B8EB, emitterName, toggle)
JavaScript and C#
JavaScript
SetStaticEmitterEnabled(emitterName, toggle);

// by hash
Citizen.invokeNative('0x399D2D3B33F1B8EB', emitterName, toggle);
C#
Function.Call((Hash)0x399D2D3B33F1B8EB, emitterName, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.