reportVehicleMissionAudioEvent
Client-side
Reports one verified GTA script-audio event on a streamed vehicle's native audio entity.
Syntax
bool reportVehicleMissionAudioEvent(vehicle theVehicle, int eventId)Arguments
theVehiclevehicleStreamed vehicle with a native GTA instance.
eventIdintOne-shot physical-entity script event from 1000 through 1190.
Returns
true when the event was reported; false for an unavailable vehicle/audio engine or an event outside the verified family.
Ownership and lifecycle
These calls act immediately on streamed native state and do not create a persistent lease. The resource remains responsible for scene timing and authoritative mission progression.
Where this comes from
SOURCECLuaAudioDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp INTRODUCED / EXTENDEDe4bddaac4Read the commit and why the change was made TEST RESOURCE tagging-up-turf test-resources/tagging-up-turf
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native scene primitives works →