[AJUDA]: Rбdio nгo funciona! -
.Skool_. - 01.01.2012
Уla gente, bom no teste da filterscript das rбdios pegou normalmente.. agora nгo estб pegando no meu servidor (host).
Eu uso o sistema de rбdio da JFS, coloquei a rбdio hunter й como eu disse no teste pegou... mais no host nгo pegou!
Vocкs sabem o motivo?
Код:
#include <a_samp>
#define ListadeMusica 9924
new EscutandoMusica[MAX_PLAYERS];
//-------------------------------------------------
public OnFilterScriptInit()
{
print("[Rбdio] - Carregando...\n\n");
print("[Rбdio] - Carregando Mъsicas...\n");
print("[Rбdio] - Carregando Lista...\n\n");
print("Sistema de rбdio feito por: Jhonatan");
print("Editado por: .Skool_.");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/radio",true) == 0)
{
ShowPlayerDialog(playerid, ListadeMusica, DIALOG_STYLE_LIST, "Sistema de {E40000}Rбdio.","Rбdio Hunter - {FFFFFF} AO VIVO\n{E40000}Desligar rбdio","Selecionar", "Cancelar");
return true;
}
return false;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == ListadeMusica)
{
if(response)
{
if(listitem == 0)
{
if(EscutandoMusica[playerid] == 1) return SendClientMessage(playerid, -2, "ERRO: Uma rбdio estб ativada, desative ela para escutar outra!");
EscutandoMusica[playerid] = 1;
// Magic
PlayAudioStreamForPlayer(playerid, "http://www.radiohunter.com.br/audio/Ouvir%20Radio%20Hunter.m3u");
return true;
}
if(listitem == 1)
{
EscutandoMusica[playerid] = 0;
SendClientMessage(playerid, -1, "- Rбdio foi desligada com sucesso! -");
StopAudioStreamForPlayer(playerid);
return true;
}
return true;
}
return true;
}
return true;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
if(EscutandoMusica[playerid] == 0)
{
ShowPlayerDialog(playerid, ListadeMusica, DIALOG_STYLE_LIST, "Sistema de {E40000}Rбdio.","Rбdio Hunter - {FFFFFF} AO VIVO\n{E40000}Desligar rбdio","Selecionar", "Cancelar");
return true;
}
}
else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
{
StopAudioStreamForPlayer(playerid);
EscutandoMusica[playerid] = 0;
}
return true;
}
Feliz ano novo para vocк!
Re: [AJUDA]: Rбdio nгo funciona! -
histire - 01.01.2012
tou tentando usar radio tbm mais nao consegui man quem souber ae
Re: [AJUDA]: Rбdio nгo funciona! -
JonathanFeitosa - 01.01.2012
Cara deveria pegar nй, mais tipo ver se nгo й o link da mъsica faz um bom tempo...
Re: [AJUDA]: Rбdio nгo funciona! -
histire - 01.01.2012
man se mostro al como faz .mp3 mais para radio como faz?
Re: [AJUDA]: Rбdio nгo funciona! -
Lуs - 01.01.2012
Rбdio й .pls
Re: [AJUDA]: Rбdio nгo funciona! -
histire - 01.01.2012
Ouvir Radio Hunter.asx
Ouvir Radio Hunter.m3u
Radio Hunter - Ao Vivo.rm
na radio hunter sу achei esses 3 nao funciona? y.y
Re: [AJUDA]: Rбdio nгo funciona! -
WeenSoares_ - 03.01.2012
Creio que usa todos os formatos, mais nunca ouvi falar no format
.m3u
Nгo seria mp3 ?
Re: [AJUDA]: Rбdio nгo funciona! -
histire - 03.01.2012
nem e nenhum dos formato assima deu =[ tenso
Re: [AJUDA]: Rбdio nгo funciona! -
Nandin - 03.01.2012
Pra colocar rбdio tem que ser .pls.
Re: [AJUDA]: Rбdio nгo funciona! -
WeenSoares_ - 03.01.2012
Quote:
Originally Posted by Nandin
Pra colocar rбdio tem que ser .pls.
|
Eu tem que ser й ? como eu uso
.mp3 ?
@EDIT
Tenta por isso:
PHP код:
http://dc189.4shared.com/img/463093562/dfb42bd8/dlink__2Fdownload_2FsOMCgH9k_3Ftsid_3D20111230-215310-7aafb192/preview.mp3