Skip to content

engineUnloadVehicleAudioConfig

Client-side

Available in Neon, not standard MTA

Stops the calling resource's custom vehicle audio, restores GTA audio, and releases the global lease.

Syntax

bool engineUnloadVehicleAudioConfig()

Returns

true when the calling resource owned and unloaded the configuration; false otherwise.

Ownership and lifecycle

One client resource owns the global vehicle-audio lease. Reloading replaces its definitions and restarts the lazy bank state; unloading, resource shutdown, or client teardown stops active audio, restores GTA's vehicle sound, and releases the lease.

Important behavior
  • Resource shutdown and client teardown run the same cleanup automatically. Commit fd9045ae added teardown guards for this path.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →