Music Player
#1

Hello i have seen a tutorial about it, and i'v made it. the command works and all, the dialog opens and etc. but the
songs doesn't play, i assume i know where the problem is i just dunno how to solve it. thanks for the helpers +1 rep!

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	    if(dialogid == DIALOG_MUSICPLAYER)
	    {
	          if(response)
	          {
	               if(listitem == 0)
	               {
	                       PlayAudioStreamForPlayer(playerid, "http://www.*******-mp3.org/#v=Y64Rypdt0_s");
	               }
	               if(listitem == 1)
	               {
	                       PlayAudioStreamForPlayer(playerid, "http://www.*******-mp3.org/#v=Y64Rypdt0_s");
	               }
	           }
			   return 1;
	}
Reply
#2

1)Choose a video on ******* that contains your song.
2)Go to http://www.*******-mp3.org/ and convert your video(song) to mp3 file
3)Click on "Download" and save it
4)Now you will need a site which will host your mp3 files,(I used http://kiwi6.com/ )
5)Click on "browse",choose your song and click on "Start Upload" and then click on "Saved:"
6)Copy the Direct Hotlink
Reply
#3

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
1)Choose a video on ******* that contains your song.
2)Go to http://www.*******-mp3.org/ and convert your video(song) to mp3 file
3)Click on "Download" and save it
4)Now you will need a site which will host your mp3 files,(I used http://kiwi6.com/ )
5)Click on "browse",choose your song and click on "Start Upload" and then click on "Saved:"
6)Copy the Direct Hotlink
ok ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)