Audio Plugin HELP
#4

Well first of all: if you want that every player hear the songs: they must install the Audio Client too !
Ok ?

And try this under OnPlayerRequestClass():

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
          new randomsongs=random(10);//so 10 random songs
          switch(randomsongs)
          {
                   case 0: Audio_Play(playerid,1,false,false,false);//song id 1
                   case 1: Audio_Play(playerid,2,false,false,false);//song id 2
                   case 2: Audio_Play(playerid,3,false,false,false);//song id 3
                   //untill "case 9"
           }
}
Reply


Messages In This Thread
Audio Plugin HELP - by samtey - 14.08.2011, 13:06
Re: Audio Plugin HELP - by Michael@Belgium - 14.08.2011, 15:49
AW: Audio Plugin HELP - by samtey - 14.08.2011, 15:52
Re: Audio Plugin HELP - by Michael@Belgium - 14.08.2011, 16:02
AW: Audio Plugin HELP - by samtey - 14.08.2011, 16:06
Re: AW: Audio Plugin HELP - by Michael@Belgium - 14.08.2011, 16:07
AW: Audio Plugin HELP - by samtey - 14.08.2011, 16:12
Re: AW: Audio Plugin HELP - by Michael@Belgium - 14.08.2011, 16:16

Forum Jump:


Users browsing this thread: 2 Guest(s)