Native referenceRedM

SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT

0xF3638DAE8C4045E1 AUDIO
FUNCTION SIGNATURE
void SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT(char* ambientZone, BOOL enabled, BOOL forceUpdate);
Property Value
Native Name SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT
Hash 0xF3638DAE8C4045E1
Return Type void
Build 1207
Parameters ambientZone (char*), enabled (BOOL), forceUpdate (BOOL)

Parameters

  • ambientZone (char*)
  • enabled (BOOL) — Enables/disables a list of ambient zones persistently
  • forceUpdate (BOOL) — Set to true to force a zone to become disabled even if its currently active, default behaviour is to only change state when the player leaves the zone.

Usage

Lua (Direct):

SetAmbientZoneListStatePersistent(ambientZone, enabled, forceUpdate)

Lua (Hash):

Citizen.InvokeNative(0xF3638DAE8C4045E1, ambientZone, enabled, forceUpdate)
Back to AUDIO