13.10.2016, 12:23
Se nгo vai utilizar o !response, remova-o:
Код:
if(dialogid == DIALOG_MUSICAS) { if(response) { if((strcmp(inputtext, "1", true) == 0) || (strcmp(inputtext, "hunter", true) == 0)) { PlayAudioStreamForPlayer(playerid, "http://live.hunter.fm/live/"); SendClientMessage(playerid, 0xFFFF00FF, "* {FFFFFF}Radio Hunter {FFFF00}Selecionada {FFFFFF}!"); } if((strcmp(inputtext, "2", true) == 0) || (strcmp(inputtext, "malandramente", true) == 0)) { PlayAudioStreamForPlayer(playerid, "https://fobos.sscdn.co/palcomp3/5/2/c/0/mcsnandinhoenegoban-nandinho-feat-nego-bam-malandramente-rd-da-nh-light-c21b5bb0.mp3"); SendClientMessage(playerid, 0xFFFF00FF, "* {FFFFFF}Malandramente {FFFF00}Selecionada {FFFFFF}!"); } if((strcmp(inputtext, "3", true) == 0) || (strcmp(inputtext, "favela", true) == 0)) { PlayAudioStreamForPlayer(playerid, "https://europa.sscdn.co/palcomp3/5/5/d/3/djclesiomix-baile-de-favela-mc-joao-2015-1dbf8314.mp3"); SendClientMessage(playerid, 0xFFFF00FF, "* {FFFFFF}Baile de Favela {FFFF00}Selecionada {FFFFFF}!"); } if((strcmp(inputtext, "4", true) == 0) || (strcmp(inputtext, "desligar", true) == 0)) { StopAudioStreamForPlayer(playerid); SendClientMessage(playerid, 0xFFFF00FF, "* {FFFFFF}Radio {FFFF00}Desligada {FFFFFF}!"); } } }