SA-MP Forums Archive
[Tutorial] ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] ******* Music 2 PAWN (5 Easy Steps + Screenshots) (/showthread.php?tid=313983)

Pages: 1 2


Music 2 PAWN [Updated - No *******!] - aGhillieSniper - 28.01.2012



Music2Pawn
So here how it's work:

Search the Download link of the Song you want.
When you need to press a button to download it, Right click, And Copy URL.
Paste it in
pawn Code:
PlayAudioStreamForPlayer(playerid, URL);
Hint: Don't use *******-mp3.org

And now you got Songs in PAWN!

by aGhillieSniper





Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - System64 - 28.01.2012

cool bro


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Niko_boy - 28.01.2012

lol really simple and easy
cool!


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - aGhillieSniper - 28.01.2012

Quote:
Originally Posted by System64
View Post
cool bro
Quote:
Originally Posted by Jagat
View Post
lol really simple and easy
cool!
Thanks :P




Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Calgon - 28.01.2012

thanks for teaching us how to illegally download music
.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Abbott - 28.01.2012

Quote:
Originally Posted by Calgon
View Post
thanks for teaching us how to illegally download music
.
This.

If you upload any pirated music to whoever is hosting your SA-MP server it will more than likely suspend your account.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - aGhillieSniper - 28.01.2012

Quote:
Originally Posted by Calgon
View Post
thanks for teaching us how to illegally download music
.
Quote:
Originally Posted by Abbott
View Post
This.

If you upload any pirated music to whoever is hosting your SA-MP server it will more than likely suspend your account.
I'm just Teaching you how to do it, You should choose to Make it Pirated or Give Credits to the Band/Artist While Playing it in-game. And as you saw, I did show the Band/Artist of the Song in my Example in the Images.

It's like Cigars, You cannot point the Reason you're getting sick at the Founder, You choosed to take it.


(No! I'm not Smoking!)

(Calgon, by the way: You welcome :P)


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Steven82 - 28.01.2012

Well i actually get all my music from *******-mp3.org Well guess i am a pirater.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - tal_peretz - 28.01.2012

man it's work but only to me, all the other who in my server can't hear the songs .. maybe in the linux it's work for all?


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - lamarr007 - 28.01.2012

PlayAudioStreamForPlayer works only for player.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Konstantinos - 28.01.2012

Quote:
Originally Posted by tal_peretz
View Post
man it's work but only to me, all the other who in my server can't hear the songs .. maybe in the linux it's work for all?
For all player that they are connected and they are in car.
pawn Code:
CMD:radiotoall( playerid, params[ ] )
{
    for( new i = 0; i < MAX_PLAYERS; i ++ )
    {
        if( IsPlayerConnected( i ) && IsPlayerInAnyVehicle( i ) )
        {
            PlayAudioStreamForPlayer( i, YourURL );
        }
    }
    return 1;
}



Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - tal_peretz - 28.01.2012

you don't understand me, I know it !!!!!!!!!!!!

but when they are do it for them self it's not work !! I know when I use playerid it happend for who do the command ... but they are do the command and it's not work !!

clear now ?? it's work just for the host of the server [me !!!!]


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - aGhillieSniper - 29.01.2012

Well, I will update my Tutorial later, But in the URL You should put another another URL. I'll tell you later today, as i promised yesterday.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - tal_peretz - 29.01.2012

Quote:
Originally Posted by aGhillieSniper
View Post
Well, I will update my Tutorial later, But in the URL You should put another another URL. I'll tell you later today, as i promised yesterday.
Ok thank's man ! I am waiting for you ..


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Calgon - 29.01.2012

Quote:
Originally Posted by aGhillieSniper
View Post
I'm just Teaching you how to do it, You should choose to Make it Pirated or Give Credits to the Band/Artist While Playing it in-game. And as you saw, I did show the Band/Artist of the Song in my Example in the Images.

It's like Cigars, You cannot point the Reason you're getting sick at the Founder, You choosed to take it.


(No! I'm not Smoking!)
That doesn't circumvent the law, you're still breaking it by pirating music.

Quote:
Originally Posted by aGhillieSniper
View Post
(Calgon, by the way: You welcome :P)
it was sarcasm.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - henry jiggy - 29.01.2012

Quote:
Originally Posted by Abbott
View Post
This.

If you upload any pirated music to whoever is hosting your SA-MP server it will more than likely suspend your account.
You do realize the music is in the database of the site he used not in his script files right?

So unless a d*ckhead reports him(the server wont want to suspend his account since they are getting monies unless whoever reported has proof and is willing to sue them) or a guy from the band who made the music stumbles onto the SA-MP server(1 in 1 million probability) or SOPA gets approved(would worry abit more about this one) then no problem.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - tal_peretz - 29.01.2012

Quote:
Originally Posted by aGhillieSniper
View Post
Well, I will update my Tutorial later, But in the URL You should put another another URL. I'll tell you later today, as i promised yesterday.
Man I need this so please if you can harry....


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - aGhillieSniper - 29.01.2012

Alright, Updating


Quote:
Originally Posted by henry jiggy
View Post
You do realize the music is in the database of the site he used not in his script files right?

So unless a d*ckhead reports him(the server wont want to suspend his account since they are getting monies unless whoever reported has proof and is willing to sue them) or a guy from the band who made the music stumbles onto the SA-MP server(1 in 1 million probability) or SOPA gets approved(would worry abit more about this one) then no problem.
You took it... Too far.


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - henry jiggy - 30.01.2012

Sorry, just hate when people go all like:

Whay u piratedzz i nevah pirated in mah entire laif itzzz wrong!!

-.- seriously piracy is everywhere, calgoon's thanks for teaching us how to illegally download music shouldn't be sarcastic(didnt see it was sarcastic before he said it ^^)


Re: ******* Music 2 PAWN (5 Easy Steps + Screenshots) - Konstantinos - 30.01.2012

Well, I tested it today, it says Audio stream:http://...
But I cannot hear anything. Is anything disable and I have to enable like audiomsgoff or audioproxyoff or something else?