From the reference libraryFiveM

AUDIO Natives

natives/AUDIO/0xA5F377B175A699C5.md

AUDIO Natives

SET_AUDIO_SCRIPT_CLEANUP_TIME

Property Value
Native Name SET_AUDIO_SCRIPT_CLEANUP_TIME
Hash 0xA5F377B175A699C5
Return Type void
Parameters timeMs (int)

Description: Set a delay in milliseconds for the audio to be cleaned up when the script finishes.

Back to documentation