I am having issues with the sound.
They are only playing for a few seconds, then they just stop.

My code:

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(10)
		if IsControlJustReleased(0, 344) then
			TriggerServerEvent('InteractSound_SV:PlayOnAll', 'purge', 1.0)
			Wait(16000) -- Waits for the duration of the sound file
		end
	end
end)

It seems to be the same length as the original ‘demo.ogg’ file.
Is there a place where I need to change the length?