[FilterScript] Radio Menu
#9

Why are you creating a variable per every radio station?
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]);
Reply


Messages In This Thread
Radio Menu - by Kitten - 18.05.2011, 03:25
Re: Radio Menu - by boyan96 - 18.05.2011, 05:38
Re: Radio Menu - by Norn - 18.05.2011, 05:57
Re: Radio Menu - by Meinstad - 18.05.2011, 06:29
Re: Radio Menu - by Dainyzxz - 18.05.2011, 07:51
Re: Radio Menu - by PCheriyan007 - 18.05.2011, 13:19
Re: Radio Menu - by Kitten - 18.05.2011, 22:02
Re: Radio Menu - by Norn - 18.05.2011, 22:06
Re: Radio Menu - by wups - 19.05.2011, 10:25
Re: Radio Menu - by Hiddos - 19.05.2011, 11:03

Forum Jump:


Users browsing this thread: 2 Guest(s)