AudioClient

setAmbientZoneListStatePersistent

SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT0xF3638DAE8C4045E1

The GTA V native SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT of the AUDIO namespace, as LS:MP client scripts call it: the global function setAmbientZoneListStatePersistent, in JavaScript and in Lua.

SignatureJavaScript
setAmbientZoneListStatePersistent(
  ambientZone: string,
  p1: boolean,
  p2: boolean
): void
SignatureLua
setAmbientZoneListStatePersistent(
  ambientZone: string,
  p1: boolean,
  p2: boolean
)

Usage

JavaScript
setAmbientZoneListStatePersistent(ambientZone, p1, p2);
Lua
setAmbientZoneListStatePersistent(ambientZone, p1, p2)

Parameters

ParameterTypeJavaScriptLua
ambientZonestringstringstring
p1BOOLbooleanboolean
p2BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Audio AUDIO
In the game
void SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT(const char* ambientZone, BOOL p1, BOOL p2)
Hash
0xF3638DAE8C4045E1

Open in the interactive natives reference