RedM Natives

SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT

Hash0xF3638DAE8C4045E1
Runtime nameSetAmbientZoneListStatePersistent
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF3638DAE8C4045E1

Signature

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

Parameters

NameTypeDescription
ambientZoneconst char*—
p1BOOL—
p2BOOL—

Returns void

Usage

Lua
SetAmbientZoneListStatePersistent(ambientZone, p1, p2)

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

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

Sources

alloc8or RDR3 NativeDB

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