Native referenceRedM

CLEAR_AMBIENT_ZONE_LIST_STATE

0x120C48C614909FA4 AUDIO
FUNCTION SIGNATURE
void CLEAR_AMBIENT_ZONE_LIST_STATE(char* zoneListName, BOOL forceUpdate);
Property Value
Native Name CLEAR_AMBIENT_ZONE_LIST_STATE
Hash 0x120C48C614909FA4
Return Type void
Build 1207
Parameters zoneListName (char*), forceUpdate (BOOL)

Description: Resets the list of ambients zones enabled/disabled status to its value before it was modified by this script.

Default behaviour is that any state change only gets applied once the player leaves the zone.

Parameters

  • zoneListName (char*) — The zone name to clear
  • forceUpdate (BOOL) — Whether ot not to force a zone to become disabled even if its currently active

Usage

Lua (Direct):

ClearAmbientZoneListState(zoneListName, forceUpdate)

Lua (Hash):

Citizen.InvokeNative(0x120C48C614909FA4, zoneListName, forceUpdate)
Back to AUDIO