How to add your own music to your own server?
#1

As it was in the titlw i want to know how to create "http://something.something/music.mp3 !!! pls help me and i Rep you for the first helper who give correct answer... i am waiting for help. Please hurry
Reply
#2

So you want it to play ingame? Here's one:

https://sampforum.blast.hk/showthread.php?tid=290595

It doesn't use the .mp3 format but you can always convert it and upload it somewhere or you can just play it off of *******!
Reply
#3

thanks i will try
Reply
#4

thx,
but i mean be a link like this "http://80.4.129.27/music/intro.mp3"
Reply
#5

Someone like this? https://sampforum.blast.hk/showthread.php?tid=301430
Reply
#6

nononoo ooooooooo it is so hard to say what i want.. ok i want to add paradise-coldplay but *******.com link doesnt work and i tried *******-mp3.org but not working after converting too
can anybody send me a code for OnPlayerConnect ? i REP him
Reply
#7

Oh okay. Sorry. Is it like this?:

pawn Код:
public OnPlayerConnect(playerid) {

PlayAudioStreamForPlayer(playerid, "URL.mp3");

}

public OnPlayerSpawn(playerid) {

    StopAudioStreamForPlayer(playerid);

}
You can just change OnPlayerSpawn to whenever you want to stop playing the music.
Reply
#8

not good i need that how to make it... so samp need to read from my PC like http://80.4.129.23/music/stairwaystoheavenbyJUN626.MP3
CAN u understand me? if not i will try to explain it more
Reply
#9

You have to upload it. You can't play it from the local machine.
Reply
#10

You can if you install a webserver, like Apache.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)