[Ajuda] Pergunta Rapida (Sobre Audio)
#4

Random + array.

Exemplo:

pawn Код:
new Musicas[3][] = {
"http://Musica1",
"http://Musica2",
"http://Musica3"
};

// Tocar musica
PlayAudioStreamForPlayer(playerid, Musicas[random(sizeof(Musicas)]);
Reply


Messages In This Thread
Pergunta Rapida (Sobre Audio) - by Extremmo - 18.10.2013, 21:57
Re: Pergunta Rapida (Sobre Audio) - by Coe1 - 18.10.2013, 21:59
Re: Pergunta Rapida (Sobre Audio) - by Extremmo - 18.10.2013, 22:02
Re: Pergunta Rapida (Sobre Audio) - by Kuddy - 18.10.2013, 22:30

Forum Jump:


Users browsing this thread: 1 Guest(s)