How to make a song into audio stream
#5

Quote:
Originally Posted by X337
Посмотреть сообщение
I use http://www.*******inmp3.com/ in my server to stream audio from *******.
Код:
Play*******Song(playerid, *******[])
{
	new link[128];
	format(link, 128, "http://www.*******inmp3.com/fetch/?video=%s", *******);
	PlayAudioStreamForPlayer(playerid, link);
}
Quote:
Originally Posted by X337
Посмотреть сообщение
Use that function under OnPlayerConnect.
Код:
public OnPlayerConnect(playerid)
{
	Play*******Song(playerid, "https://www.*******.com/......");
	// ... Your code
}
Oh ok ty but how to put on player spawn stop it and how can i make a cmd of it to play and stop??
Reply


Messages In This Thread
How to make a song into audio stream - by Satish1 - 21.03.2017, 08:24
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:28
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 08:31
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:33
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 08:34
Re: How to make a song into audio stream - by X337 - 21.03.2017, 08:39
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 10:09
Re: How to make a song into audio stream - by Satish1 - 21.03.2017, 14:49
Re: How to make a song into audio stream - by coool - 21.03.2017, 15:01
Re: How to make a song into audio stream - by crukk11 - 21.03.2017, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)