OnClientSoundFinishedDownload
From Multi Theft Auto: Wiki
This event is triggered when a sound has just finished downloading. This means the complete sound file is now loaded in the player's RAM, and can be played completely from start to end. Unlike onClientSoundStream, this event only triggers for file streams, not for live ones since live streams never actually end.
Parameters
int length
- length: The length of the stream in milliseconds
Source
The source of this event is the sound which just finished downloading.
Example
--TODOSee Also
Client player events
- onClientSoundChangedMeta
- onClientSoundFinishedDownload
- onClientSoundStream
FROM VERSION 1.4 ONWARDS
Client event functions
- addEvent
- addEventHandler
- cancelEvent
- removeEventHandler
- triggerEvent
- triggerServerEvent
- wasEventCanceled
FROM VERSION 1.3.1 ONWARDS