19.05.2011, 10:25
Why are you creating a variable per every radio station?
Does anyone listen to 6 radio stations at once?
I'd do:
Does anyone listen to 6 radio stations at once?
I'd do:
pawn Код:
new Radio[MAX_PLAYERS];
// when opening a new radio:
Audio_Stop(playerid, Radio[playerid]);
Radio[playerid] = Audio_PlayStreamed(...);
// when stopping:
Audio_Stop(playerid,Radio[playerid]);