From the reference libraryFiveM

AUDIO Natives

natives/AUDIO/0x1D6650420CEC9D3B.md

AUDIO Natives

SET_AMBIENT_ZONE_STATE_PERSISTENT

Property Value
Native Name SET_AMBIENT_ZONE_STATE_PERSISTENT
Hash 0x1D6650420CEC9D3B
Return Type void
Parameters zoneName (char*), enabled (BOOL), forceUpdate (BOOL)

Parameters

  • zoneName (char*)
  • enabled (BOOL) — Enables/disables an ambient zone for the duration of this script
  • 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.
Back to documentation