RedM Natives

SET_AMBIENT_ZONE_STATE

Hash0xBDA07E5950085E46
Runtime nameSetAmbientZoneState
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBDA07E5950085E46

Signature

void SET_AMBIENT_ZONE_STATE(const char* zoneName, BOOL isEnabled, BOOL p2);

Parameters

NameTypeDescription
zoneNameconst char*—
isEnabledBOOL—
p2BOOL—

Returns void

Usage

Lua
SetAmbientZoneState(zoneName, isEnabled, p2)

-- always works, by hash
Citizen.InvokeNative(0xBDA07E5950085E46, zoneName, isEnabled, p2)
JavaScript and C#
JavaScript
SetAmbientZoneState(zoneName, isEnabled, p2);

// by hash
Citizen.invokeNative('0xBDA07E5950085E46', zoneName, isEnabled, p2);
C#
Function.Call((Hash)0xBDA07E5950085E46, zoneName, isEnabled, p2);

See also

Sources

alloc8or RDR3 NativeDB

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