The Lab
AUDIO native

SET_AMBIENT_ZONE_STATE

returns void3 paramsbuild 1207

Enables or disables the ambient audio zone zoneName.

Signature

C
void SET_AMBIENT_ZONE_STATE(const char* zoneName, BOOL isEnabled, BOOL p2); // 0xBDA07E5950085E46 b1207

Parameters

#NameType
1zoneNameconst char*
2isEnabledBOOL
3p2BOOL

Facts

Facts about SET_AMBIENT_ZONE_STATE
Name
SET_AMBIENT_ZONE_STATE
Hash
0xBDA07E5950085E46
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xBDA07E5950085E46, -- SET_AMBIENT_ZONE_STATE
  "text", -- const char* zoneName
  false, -- BOOL isEnabled
  false -- BOOL p2
)
JavaScript
Citizen.invokeNative("0xBDA07E5950085E46", // SET_AMBIENT_ZONE_STATE
  "text", // const char* zoneName
  false, // BOOL isEnabled
  false // BOOL p2
);
C#
Function.Call((Hash)0xBDA07E5950085E46, // SET_AMBIENT_ZONE_STATE
  "text", // const char* zoneName
  false, // BOOL isEnabled
  false // BOOL p2
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.