[Pedido] Funзгo Musica - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Funзгo Musica (
/showthread.php?tid=458804)
Funзгo Musica -
shittt - 18.08.2013
Tipo quero uma funзгo pra tocar radio no meu server , Eu lembro que era player audio alguma coisa assim , jб procurei nгo achei. Eu quero pra ficar tocando ate o player sair do server , tipo como se nгo desse pra ele tirar , Abraзos .
Re: Funзгo Musica -
shittt - 18.08.2013
Jб resolvi era : PlayAudioStreamForPlayer(playerid,"URL DA MUSICA/RADIO"
Re: Funзгo Musica -
Juniiro3 - 18.08.2013
pawn Код:
PlayAudioStreamForPlayer(playerid, url[]);
StopAudioStreamForPlayer(playerid);
Re: Funзгo Musica -
MrPaulistinha - 18.08.2013
Ok...
OnPlayerConnect(playerid):
pawn Код:
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, "IP Radio/URL da Musica");
return 1;
}
OnPlayerDisconnect(playerid):
pawn Код:
public OnPlayerDisconnect(playerid)
{
StopAudioStreamForPlayer(playerid);
return 1;
}
E isso ai