[Ajuda]Musicas
#1

Boas eu tenho musicas no meu pc.. e quero colocar elas aqui no fs como fasso? o meu fs e este..

PHP код:
//                . . .=+=+=+=+=+=+=+=+=+=+=+=+= Online Radio script by •rTbreN_=+=+=+=+=+=+=+=+=+=+=+=+=+=+=. . .
#include <a_samp>
#define FILTERSCRIPT
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PINK 0xFFC0CBAA
#define COLOR_RED 0xAA3333AA
public OnFilterScriptInit()
{
        print(
"\n--------------------------------------");
        print(
" Online Radio script by  •rTbreN_");
        print(
"--------------------------------------\n");
        return 
1;
}
main()
{
        print(
"\n----------------------------------");
        print(
" Online Radio script by •rTbreN_");
        print(
"----------------------------------\n");
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
        if(
strcmp("/Radio"cmdtexttrue10) == 0)
{
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
        
SendClientMessage(playeridCOLOR_WHITE"/1 /2 /3 /4 /5 /6 /7 /8 /9 /10 /11 /12 /13 /14 /15");
        
SendClientMessage(playeridCOLOR_WHITE"/16 /17 /18.Choose one please.");
        
SendClientMessage(playeridCOLOR_WHITE"Please use /stopradio to stop the radio.");
        
SendClientMessage(playeridCOLOR_PINK"This Online Radio script by •rTbreN_");//Don't change credites please.
        
SendClientMessage(playeridCOLOR_LIGHTBLUE"~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
        return 
1;
}
        if (
strcmp("/Stopradio"cmdtexttrue10) == 0)
{
        
StopAudioStreamForPlayer(playerid);
        
SendClientMessage(playerid0xAA3333AA"You have stopped the playing radio. . .");
        return 
1;
}
        if (
strcmp("/1"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=237394");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /1, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/2"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=285516");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /2, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/3"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=2187022");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /3, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/4"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=1377200");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /4, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/5"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://212.48.110.70:30710");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /5, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/6"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=2057197");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /6, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/7"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://scfire-mtc-aa04.stream.aol.com:80/stream/1018");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /7, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/8"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://techno.fm/radio/techno/?affID=technofm");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /8, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/9"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=13309");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /9, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/10"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=1267576");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /10, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/11"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://80.237.158.76:80");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /11, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/12"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://173.193.202.125:15236/listen.mp3?authn5d554f84ea9b43d0eca5f44ff9a3ab1a");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /12, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/13"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://tunein.com/tuner/?StationId=108531&");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /13, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/14"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://78.159.104.167:80");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /14, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/15"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://50.117.115.211:80");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /15, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/16"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://80.237.159.41:7000");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /16, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/17"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://87.98.131.132:5000");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /17, Type /stopradio to stop audio streaming.");
        return 
1;
}
        if (
strcmp("/18"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://78.129.227.10:8000");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /18, Type /stopradio to stop audio streaming.");
        return 
1;
}
        return 
0;

Reply
#2

PlayAudioStreamForPlayer ...
Reply
#3

Que?
Reply
#4

Lol eu sei que й PlayAudioStreamForPlayer

mas como coloco as musicas que eu quero la?? la tem links como transformo uma musica qe tenho aki no pc num lick dakeles?
Reply
#5

Primeiramente Voce Precisa Hospedar Ela em Algum Lugar ,

Como o 4 Shared ta Fail.

Use o DropBox!
Reply
#6

Isso mesmo Break, entгo, vocк quer hospedar suas mъsicas... se nгo tiver conta eu hospedo pra vocк '-'
Minha assinatura estб hospedada completamente no dropbox
Reply
#7

Mas tambem queria meter a minha radio online a dar no samp.. como neste fs tem radios online hora vejam...

PHP код:
if (strcmp("/5"cmdtexttrue) == 0)
{
        
PlayAudioStreamForPlayer(playerid"http://212.48.110.70:30710");
        
SendClientMessage(playerid0xFFFFFFAA"You have choosen /5, Type /stopradio to stop audio streaming.");
        return 
1;

Reply
#8

Й so voce colocar o ip e a port da Radio .
Reply
#9

Hospeda a Mъsica no 4 Shared... Lб aonde a mъsica ta hospedada, Tu digita ctrl + u, dai ctrl + f e procura por preview.mp3, vai aparecer um link parecido com esse aqui \/

PHP код:
CMD:musica(playerid)
{       
 
PlayAudioStreamForPlayer(playerid,"http://dc426.4shared.com/img/1116586903/6d758fa7/dlink__2Fdownload_2F-ifnrF6J_3Ftsid_3D20120330-235923-43e906fc/preview.mp3");
SendClientMessage(playerid,0xFF0000AA,"Mъsica estб Rolando.");
return 
true;

@Edit Parece que nгo ta indo pelo 4Shared, tenta pelo DropBox como o Break falou.
Reply
#10

Nгo deu... coloquei:

PHP код:
CMD:gostavolima(playerid)
{
 
PlayAudioStreamForPlayer(playerid,"http://dc509.4shared.com/img/1179751108/ec1c23fa/dlink__2Fdownload_2F-w7sPP_5Fi_3Ftsid_3D20120528-132738-d8eceb8/preview.mp3");
 
SendClientMessage(playerid,0xFF0000AA,"Gostavo Lima - Balada Boa.");
 return 
true;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)