Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dialogid == RADIO) //Nossa dialog definida la em cima!
- {
- if(response) {
- if(listitem == 0) { //Lista 1 , ou seja Musica 1
- StopAudioStreamForPlayer(playerid); //funçao de parar nosso audio .
- PlayAudioStreamForPlayer(playerid, "http://24.media.v4.skyrock.net/music/245/dcd/245dcdbcbc5b0e5b2f89c26fc1eed062.mp3"); // Funçao de dar Play ao nosso Audio!
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'Don Omar - Danza Koduro'."); //Mensagem que retornara ao por a musica tocar.
- }
- if(listitem == 1) { //Lista 2 ou seja Musica 2
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc357.4shared.com/img/67088660/f5210d66/dlink__2Fdownload_2F65Bzqywd_3Ftsid_3D20111212-191247-f380314f/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'It Was A Good Day - Ice Cube'."); //Mensagem que retornara
- }
- if(listitem == 2) { //Lista 3 ou seja Musica 3
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc178.4shared.com/img/235743270/9051dbed/dlink__2Fdownload_2FtmG-P3-2_3Ftsid_3D20111212-193534-415bf737/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'Back in Black - AC/DC'.");
- }
- if(listitem == 3) { //Lista 4 ou seja Musica 4
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc167.4shared.com/img/235424715/24a9f5b8/dlink__2Fdownload_2FdceWdGB9_3Ftsid_3D20111212-193757-a5f4ad42/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'Sweet Child o'Mine - Guns n' Roses'.");
- }
- if(listitem == 4) { //Lista 5 ou seja Musica 5
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc93.4shared.com/img/87704807/45a8c4ba/dlink__2Fdownload_2FHIa9jRlX_3Ftsid_3D20111212-194305-90ab7842/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'In the end - Linkin Park'.");
- }
- if(listitem == 5) { //Lista 6 ou seja Musica 6
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc128.4shared.com/img/36036298/2f372b5/dlink__2Fdownload_2F_5FbL20vRC_3Ftsid_3D20111212-204112-7a5bb970/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'Hood Took Me Under (Compton's Most Wanted)'.");
- }
- if(listitem == 6) { //Lista 7 ou seja Musica 7
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid, "http://dc390.4shared.com/img/621459286/4feaacec/dlink__2Fdownload_2FcnM9rZoR_3Ftsid_3D20120311-171042-e83561fb/preview.mp3");
- SendClientMessage(playerid, Vermelho,"| RADIO | Você está escutando a música 'Nirvana - Rape me'.");
- }
- if(listitem == 7) { //Lista 8 , Desligar RADIO
- StopAudioStreamForPlayer(playerid); // Funçao de fazer parar nosso audio!
- SendClientMessage(playerid, Vermelho,"| RADIO | Você resolveu desligar sua Radio"); // mensagem que retornara
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement