if(response)
{//Radio Atlantida
if(inputtext[0] == '1')
{
PlayAudioStreamForPlayer(playerid, "http://http://189.76.158.148:50008");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Atlantida.");
}
//Radio Country Sertanejo
if(inputtext[0] == '2')
{
PlayAudioStreamForPlayer(playerid, "http://108.163.178.106:8075");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance
if(inputtext[0] == '3')
{
PlayAudioStreamForPlayer(playerid, "http://173.193.201.100:8068");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance PoP
if(inputtext[0] == '4')
{
PlayAudioStreamForPlayer(playerid, "http://80.237.157.97:8450");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Dance PoP.");
}
//Radio Funck Sincronizado
if(inputtext[0] == '5')
{
PlayAudioStreamForPlayer(playerid, "http://83:170.116.212:7589");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Funck Sincronizado.");
}
//Radio Fusion
if(inputtext[0] == '6')
{
PlayAudioStreamForPlayer(playerid, "http://65.60.34.34:8000");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Fusion.");
}
//Radio Games Brasil
if(inputtext[0] == '7')
{
PlayAudioStreamForPlayer(playerid, "http://74.222.1.205:966/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Games Brasil.");
}
//Radio Hunter
if(inputtext[0] == '8')
{
PlayAudioStreamForPlayer(playerid, "http://live.hunterfm.com:8080/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Hunter.");
}
//Radio Joven Pan
if(inputtext[0] == '9')
{
PlayAudioStreamForPlayer(playerid, "http://46.166.135.85:9998");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Joven Pan.");
}
//Radio MegaSom
if(inputtext[0] == '10')
{
PlayAudioStreamForPlayer(playerid, "http://174.142.196.188:8048");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaSom.");
}
//Radio Mega Hits
if(inputtext[0] == '11')
{
PlayAudioStreamForPlayer(playerid, "http://64.56.64.82:16910");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mega Hits.");
}
//Radio MegaRock
if(inputtext[0] == '12')
{
PlayAudioStreamForPlayer(playerid, "http://205.188.215.228:8012");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaRock.");
}
//Radio Metalica
if(inputtext[0] == '13')
{
PlayAudioStreamForPlayer(playerid, "http://199,16.186.40:8522/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metalica.");
}
//Radio Metropolitana
if(inputtext[0] == '14')
{
PlayAudioStreamForPlayer(playerid, "http://metropolitanafm.uol.com.br/ao-vivo/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metropolitana.");
}
//Radio Mix
if(inputtext[0] == '15')
{
PlayAudioStreamForPlayer(playerid, "http://184.82.14.162:9358/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mix.");
}
//Radio Pagode
if(inputtext[0] == '16')
{
PlayAudioStreamForPlayer(playerid, "http://50.30.35.23:8172");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Pagode.");
}
//Radio Raggae
if(inputtext[0] == '17')
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Raggae.");
}
//Radio Sertaneja
if(inputtext[0] == '18')
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Sertaneja.");
}
//Radio VLogs
if(inputtext[0] == '19')
{
PlayAudioStreamForPlayer(playerid, "http://174.36.196.156:7390/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio VLogs.");
}
return 1;
}
return 1;
C:\Users\opef\Documents\Meus arquivos recebidos\RadioSystem.pwn(76) : error 027: invalid character constant C:\Users\opef\Documents\Meus arquivos recebidos\RadioSystem.pwn(76) : error 027: invalid character constant C:\Users\opef\Documents\Meus arquivos recebidos\RadioSystem.pwn(76 -- 77) : error 029: invalid expression, assumed zero C:\Users\opef\Documents\Meus arquivos recebidos\RadioSystem.pwn(76 -- 77) : fatal error 107: too many error messages on one line
if(inputtext[0] == '10')
{
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "http://http://189.76.158.148:50008");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Atlantida.");
}
//Radio Country Sertanejo
if(listitem == 2)
{
PlayAudioStreamForPlayer(playerid, "http://108.163.178.106:8075");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance
if(listitem == 3)
{
PlayAudioStreamForPlayer(playerid, "http://173.193.201.100:8068");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance PoP
if(listitem == 4)
{
PlayAudioStreamForPlayer(playerid, "http://80.237.157.97:8450");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Dance PoP.");
}
//Radio Funck Sincronizado
if(listitem == 5)
{
PlayAudioStreamForPlayer(playerid, "http://83:170.116.212:7589");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Funck Sincronizado.");
}
//Radio Fusion
if(listitem == 6)
{
PlayAudioStreamForPlayer(playerid, "http://65.60.34.34:8000");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Fusion.");
}
//Radio Games Brasil
if(listitem == 7)
{
PlayAudioStreamForPlayer(playerid, "http://74.222.1.205:966/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Games Brasil.");
}
//Radio Hunter
if(listitem == 8)
{
PlayAudioStreamForPlayer(playerid, "http://live.hunterfm.com:8080/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Hunter.");
}
//Radio Joven Pan
if(listitem == 9)
{
PlayAudioStreamForPlayer(playerid, "http://46.166.135.85:9998");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Joven Pan.");
}
//Radio MegaSom
if(listitem == 10)
{
PlayAudioStreamForPlayer(playerid, "http://174.142.196.188:8048");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaSom.");
}
//Radio Mega Hits
if(listitem == 11)
{
PlayAudioStreamForPlayer(playerid, "http://64.56.64.82:16910");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mega Hits.");
}
//Radio MegaRock
if(listitem == 12)
{
PlayAudioStreamForPlayer(playerid, "http://205.188.215.228:8012");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaRock.");
}
//Radio Metalica
if(listitem == 13)
{
PlayAudioStreamForPlayer(playerid, "http://199,16.186.40:8522/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metalica.");
}
//Radio Metropolitana
if(listitem == 14)
{
PlayAudioStreamForPlayer(playerid, "http://metropolitanafm.uol.com.br/ao-vivo/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metropolitana.");
}
//Radio Mix
if(listitem == 15)
{
PlayAudioStreamForPlayer(playerid, "http://184.82.14.162:9358/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mix.");
}
//Radio Pagode
if(listitem == 16)
{
PlayAudioStreamForPlayer(playerid, "http://50.30.35.23:8172");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Pagode.");
}
//Radio Raggae
if(listitem == 17)
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Raggae.");
}
//Radio Sertaneja
if(listitem == 18)
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Sertaneja.");
}
//Radio VLogs
if(listitem == 19)
{
PlayAudioStreamForPlayer(playerid, "http://174.36.196.156:7390/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio VLogs.");
}
}
}
Tenta ai
![]() PHP код:
|
nгo й, se fosse problema no link pelomenos iria mostrar o link da radio quando seleciona-se, nem isso mostra...
|
@Edit
if(dialogid == 2014)
{
if(response)
{
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, "http://http://189.76.158.148:50008");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Atlantida.");
}
//Radio Country Sertanejo
if(listitem == 2)
{
PlayAudioStreamForPlayer(playerid, "http://108.163.178.106:8075");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance
if(listitem == 3)
{
PlayAudioStreamForPlayer(playerid, "http://173.193.201.100:8068");
SendClientMessage(playerid, -1, " Menssagem");
}
//Radio Dance PoP
if(listitem == 4)
{
PlayAudioStreamForPlayer(playerid, "http://80.237.157.97:8450");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Dance PoP.");
}
//Radio Funck Sincronizado
if(listitem == 5)
{
PlayAudioStreamForPlayer(playerid, "http://83:170.116.212:7589");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Funck Sincronizado.");
}
//Radio Fusion
if(listitem == 6)
{
PlayAudioStreamForPlayer(playerid, "http://65.60.34.34:8000");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Fusion.");
}
//Radio Games Brasil
if(listitem == 7)
{
PlayAudioStreamForPlayer(playerid, "http://74.222.1.205:966/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Games Brasil.");
}
//Radio Hunter
if(listitem == 8)
{
PlayAudioStreamForPlayer(playerid, "http://live.hunterfm.com:8080/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Hunter.");
}
//Radio Joven Pan
if(listitem == 9)
{
PlayAudioStreamForPlayer(playerid, "http://46.166.135.85:9998");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Joven Pan.");
}
//Radio MegaSom
if(listitem == 10)
{
PlayAudioStreamForPlayer(playerid, "http://174.142.196.188:8048");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaSom.");
}
//Radio Mega Hits
if(listitem == 11)
{
PlayAudioStreamForPlayer(playerid, "http://64.56.64.82:16910");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mega Hits.");
}
//Radio MegaRock
if(listitem == 12)
{
PlayAudioStreamForPlayer(playerid, "http://205.188.215.228:8012");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio MegaRock.");
}
//Radio Metalica
if(listitem == 13)
{
PlayAudioStreamForPlayer(playerid, "http://199,16.186.40:8522/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metalica.");
}
//Radio Metropolitana
if(listitem == 14)
{
PlayAudioStreamForPlayer(playerid, "http://metropolitanafm.uol.com.br/ao-vivo/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Metropolitana.");
}
//Radio Mix
if(listitem == 15)
{
PlayAudioStreamForPlayer(playerid, "http://184.82.14.162:9358/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Mix.");
}
//Radio Pagode
if(listitem == 16)
{
PlayAudioStreamForPlayer(playerid, "http://50.30.35.23:8172");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Pagode.");
}
//Radio Raggae
if(listitem == 17)
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Raggae.");
}
//Radio Sertaneja
if(listitem == 18)
{
PlayAudioStreamForPlayer(playerid, "http://76.90.204.146:8001");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio Sertaneja.");
}
//Radio VLogs
if(listitem == 19)
{
PlayAudioStreamForPlayer(playerid, "http://174.36.196.156:7390/");
SendClientMessage(playerid, -1, "[Rбdio] Conectado a Rбdio VLogs.");
}
}
}
if (strcmp(cmd, "/radios", true) == 0)// CMD:radios(playerid, params[])
{
ShowPlayerDialog(playerid,2014,DIALOG_STYLE_LIST,"{FF0077}","{FF0000}nenhum\n{FF0000}nenhum\n{FF0000}nenhum\n{FF0000}nenhum\n{FF0000}nenhum","Executar","Sair");
GameTextForPlayer(playerid, "~n~Rбdio Ligado~y~", 5000, 3);
return 1;
}