RedM Natives

SET_AMBIENT_ZONE_STATE_PERSISTENT

Hash0x1D6650420CEC9D3B
Runtime nameSetAmbientZoneStatePersistent
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1D6650420CEC9D3B

Signature

void SET_AMBIENT_ZONE_STATE_PERSISTENT(const char* ambientZone, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
ambientZoneconst char*—
p1BOOL—
p2BOOL—

Returns void

Usage

Lua
SetAmbientZoneStatePersistent(ambientZone, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0x1D6650420CEC9D3B, ambientZone, p1, p2)
JavaScript and C#
JavaScript
SetAmbientZoneStatePersistent(ambientZone, p1, p2);

// by hash
Citizen.invokeNative('0x1D6650420CEC9D3B', ambientZone, p1, p2);
C#
Function.Call((Hash)0x1D6650420CEC9D3B, ambientZone, p1, p2);

Sources

alloc8or RDR3 NativeDB

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