getSoundBufferLength
Cliente
Existe por compatibilidade com o MTA, onde dá o tamanho do buffer de um stream da internet.
bool getSoundBufferLength(sound sound)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| sound | sound | O elemento sound, ou um elemento dui para o som do navegador. |
Retorno
Sempre false.
Exemplo
local length = getSoundBufferLength(music) or getSoundLength(music)Vindo do MTAO MYMP não toca streams da internet, então não há buffer para medir.