getSoundBufferLength
Client
Kept for MTA compatibility, where it gives the buffer length of an internet stream.
bool getSoundBufferLength(sound sound)
Parameters
| Name | Type | Description |
|---|---|---|
| sound | sound | The sound element, or a dui element for the browser's sound. |
Returns
Always false.
Example
local length = getSoundBufferLength(music) or getSoundLength(music)Coming from MTAMYMP does not play internet streams, so there is no buffer to measure.