AudioStream listem random ?
#5

Oh, ademбs, tienes el array "Electronica" malo.

pawn Код:
new Electronica[][] = {
        {"www.zonaroja.com.nu/radio/sebastian%20ingrosso%20&%20alesso%20feat%20ryan%20tedder%20-%20calling%20(lose%20my%20mind)%20(radio%20edit).mp3"},
        {"www.zonaroja.com.nu/radio/will.i.am%20-%20Scream%20&%20Shout%20ft.%20Britney%20Spears.mp3"}
};
Ejemplo (Para que la selecciуn sea aleatoria):

pawn Код:
main()
{
    new Electronica[][] =
    {
        {"www.zonaroja.com.nu/radio/sebastian%20ingrosso%20&%20alesso%20feat%20ryan%20tedder%20-%20calling%20(lose%20my%20mind)%20(radio%20edit).mp3"},
        {"www.zonaroja.com.nu/radio/will.i.am%20-%20Scream%20&%20Shout%20ft.%20Britney%20Spears.mp3"}
    };

    printf("%s", Electronica[random(2)]);
}
Reply


Messages In This Thread
AudioStream listem random ? - by Jejox - 16.12.2013, 21:08
Respuesta: AudioStream listem random ? - by OTACON - 16.12.2013, 21:29
Respuesta: AudioStream listem random ? - by Jejox - 16.12.2013, 22:31
Respuesta: AudioStream listem random ? - by OTACON - 17.12.2013, 16:57
Respuesta: AudioStream listem random ? - by EduGTA - 17.12.2013, 17:30

Forum Jump:


Users browsing this thread: 2 Guest(s)