engineReloadVehicleAudioConfig
Client-side
Reparses the current owner's definitions and schedules a clean lazy restart of the vehicle-audio banks.
Syntax
bool engineReloadVehicleAudioConfig()Returns
true when the calling resource owns a loaded configuration and it reparsed successfully; 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
- Reload stops active events, clears and reindexes banks, then lets the next client pulses initialize them again.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDED0418bcea7Read the commit and why the change was made
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Resource-owned vehicle audio works →