05.11.2011, 04:19
(
Последний раз редактировалось sciman001; 05.11.2011 в 04:19.
Причина: wrong title
)
Hi. I was just wonderingm is it possible to detect the end of a player streamed audio? I do NOT want to use the "time" method... if you know what i mean... By that, I mean, I do not want to check if however long has passed... like...
I want something like this:
Or something like that. I do have that streaming variable in my script so that players cant play 2 or more songs at the same time. :P Anyway, can anyont let me know about this please? Thanks!
Код:
if time has passed { variable = 1 }
Код:
public OnAudioStreamStop(playerid) { if(streaming[playerid] == 1) { streaming[playerid] = 0; } }