SA-MP Forums Archive
[FilterScript] Simple stream for music rcon and user commands - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple stream for music rcon and user commands (/showthread.php?tid=496848)



Simple stream for music rcon and user commands - boxbonik - 24.02.2014

This is just a simple music stream for your server quite afew songs i'll come around to updating it later on to match enums and so on at the moment there's only one play list for rcon admins and 9 for players and admins I guess lol you can edit it so it will fit your script and so on first we gotta define the playlists and color
Код:
#define COLOR_YELLOW 0xFFFF00AA
#define DIALOG_MUSIC 984
#define DIALOG_MUSIC_PLAYLISTS 983
#define DIALOG_MUSIC_HITS 982
#define DIALOG_MUSIC_HITSS 981
#define DIALOG_MUSIC_HITSSS 980
#define DIALOG_MUSIC_DRAKE 952
#define DIALOG_MUSIC_MACKLEMORE 953
#define DIALOG_MUSIC_JAYZ 954
#define DIALOG_MUSIC_KESHA 955
#define DIALOG_MUSIC_CHILDISH 956
#define DIALOG_MUSIC_ADMINMUSIC 957
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_MUSIC)
		{
		if(response)
		    {
		    switch(listitem)
		        {
		            case 0:
		            {
						ShowPlayerDialog(playerid, DIALOG_MUSIC_PLAYLISTS, DIALOG_STYLE_LIST, "Radio Stations", "Mixed Rock", "Play","Cancel");
		            }
		            case 1:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_HITS, DIALOG_STYLE_LIST, "2013 Hit Songs", "Lady Gaga - Applause\nLana Del Rey - Summertime Sadness\nLorde - Royals\nMiley Cyrus - Wrecking Ball\nWake Me Up -- Avicii ft. Aloe Blacc\nBlurred Lines - Robin Thicke\nCapital Cities - Safe & Sound\nDrake - Hold On We're Going Home\nJay Z FT Justin Timberlake - Holy Grail\nKaty Perry - Roar", "Play", "Back");
					}
					case 2:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_HITSS, DIALOG_STYLE_LIST, "2012 Hit Songs", "LMFAO - Sexy and i know it\nRack City - Tyga\nTrain - Drive By\nCarly Rae Jepsen - Call Me Maybe\nWhistle - Flo Rida\nDrake ft. Rihanna - Take Care\nYoung, Wild And Free - Wiz Khalifa feat. Snoop Dogg\nFlo Rida - Good Feeling\nJay-Z ft Kanye West - Niggas In Paris\nKaty Perry - The One That Got Away","Play","Back");
					}
					case 3:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_HITSSS, DIALOG_STYLE_LIST, "2011 Hit Songs", "Kesha - Blow\nBorn This Way- Lady Gaga\nLupe Fiasco - The Show Goes on\nGrenade-Bruno Mars\nGym Class Heroes - Stereo Hearts\nParty Rock Anthem\nI Need A Doctor - Eminem ft. Dr. Dre And Skylar Grey\nWiz Khalifa - No Sleep\nKaty Perry - ET\nWiz Khalifa- Black and Yellow","Play","Back");
					}
					case 4:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_DRAKE, DIALOG_STYLE_LIST, "Top 5 Drake Songs", "Drake Best I Ever Had\nDrake Headlines\nDrake Marvins Room\nDrake Ft Kanye West Forever\nDrake Over", "Play", "Back");
					}
					case 5:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_MACKLEMORE, DIALOG_STYLE_LIST, "Top 5 Macklemore Songs", "Macklemore - And We Danced\nMacklemore - Can't Hold Us\nMacklemore - Irish Celebration\nMacklemore - Same Love\nMacklemore - Thrift Shop","Play","Back");
					}
					case 6:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_JAYZ, DIALOG_STYLE_LIST, "Top 5 Jay Z Songs", "Jay Z 99 Problems\nJay Z Dirt Off Your Shoulder\nJay Z Dead President 2\nJay Z Empire State Of Mind\nJay Z Feat Eminem Renegade","Play","Back");
					}
					case 7:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_KESHA, DIALOG_STYLE_LIST, "Top 5 Ke$ha Songs", "We R Who We R - Ke$ha\nKe$ha - Take It Off\nKe$ha - Your Love Is My Drug\nPittbull Feat Ke$ha - Timber\nKe$ha - Tik Tok","Play","Back");
					}
					case 8:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_CHILDISH, DIALOG_STYLE_LIST, "Top 5 Childish Gambino Songs", "Childish Gambino - Freaks And Geeks\nChildish Gambino - Bonfire\nChildish Gambino - You See Me\nChildish Gambino - That Power\nChildish Gambino - Do You Like","Play","Back");
					}
					case 9:
					{
					    ShowPlayerDialog(playerid, DIALOG_MUSIC_ADMINMUSIC, DIALOG_STYLE_LIST, "RCON Admin Playlist", "You Think\nHello World\nHome Town\nMiss Me\nNew Town\nSunny\n3foottall\nBaddest\nBombBay\nBoy\nSRH","Play","Back");
					}
				}
			}
		}
	if(dialogid == DIALOG_MUSIC_ADMINMUSIC)
	    {
	    if(response)
	        {
	        switch(listitem)
				{
		            case 0:
		            {
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/zkxala9tc6/youthink.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 1:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/7dvtl1fpd0/helloworld.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 2:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/5qadcg7r3s/HomeTown.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 3:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/m9hgzwz86u/missme.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 4:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/gm73f6lo8q/newtown.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 5:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/jdkri4ug2p/Sunny.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 6:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/4f73y2xsz4/3foottall.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 7:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/iyi9j0qybo/baddest.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 8:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/93gwrn7fuy/bombay.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 9:
					{
						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/x9kqvstijd/boy.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
					case 10:
					{
  						if(IsPlayerAdmin(playerid))
		                {
		                for(new i = 0; i < MAX_PLAYERS; i++)
		                PlayAudioStreamForPlayer(i, "http://k007.kiwi6.com/hotlink/n8lmfe8o58/SRH.mp3");
		                new szPlayerName[MAX_PLAYER_NAME], szMessage[74];
						GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
						format(szMessage, sizeof(szMessage), "%s has start a Audio Stream", szPlayerName);
						SendClientMessageToAll(COLOR_YELLOW, szMessage);  // Replace 0 with the colour
						}
						else return SendClientMessage(playerid, COLOR_YELLOW, "You are not allowed to stream music for others!");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_CHILDISH)
	    {
		if(response)
		    {
		    switch(listitem)
		        {
					case 0:
					{
    					PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/sg4z9si0d7/Childish_Gambino_-_Freaks_and_Geeks_HD_Music_Video_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 1:
					{
    					PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/53bgtn5ih5/Childish_Gambino_-_That_Power.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 2:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/85qzdfj07z/Childish_Gambino_-_You_See_Me_with_Lyrics_HD.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 3:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/wkfi900q5g/Childish_Gambino-_Bonfire_w_lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 4:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/hnm02h92xj/Childish_Gambino-Do_Ya_Like_w-lyrics_2_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_KESHA)
		{
		if(response)
		    {
		    switch(listitem)
		        {
					case 0:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/pje46erkne/Ke_ha_Kesha_-_We_R_Who_We_R_Lyrics_NEW_SONG_HQHD_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 1:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/2ck5vbrqk9/Kesha_-_Take_It_Off_with_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 2:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/zzsuyyk0bs/Kesha_-_Your_Love_Is_My_Drug_Lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 3:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/u8wgwkenkp/Pitbull_feat_Kesha_-_Timber_-_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 4:
					{
   	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/89o5nj3t7w/TiK_ToK_Kesha_With_Lyrics_On_Screen_HQ.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_JAYZ)
	    {
	    if(response)
			{
			switch(listitem)
			    {
			        case 0:
			        {
          				PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/fe5ihwxuo6/99_Problems_Jay-Z_-_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
			        }
			        case 1:
			        {
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/creqp35dhw/Jay_Z_Dirt_off_your_shoulder_lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
			        }
			        case 2:
			        {
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/08l1o4ah50/Jay-Z_-_Dead_Presidents_II_with_lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
			        }
			        case 3:
			        {
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/m8ul4grqmd/Jay-Z_-_Empire_State_of_Mind_with_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
			        }
			        case 4:
			        {
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/nn6yxzh7vs/Jay-Z_Feat._Eminem_-_Renegade_lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
			        }
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_MACKLEMORE)
	    {
	    if(response)
	        {
	        switch(listitem)
	            {
					case 0:
					{
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/rstcigxxbh/Macklemore_-_And_we_danced_lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 1:
					{
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/7oaalyia23/Macklemore_-_Can_t_hold_us_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 2:
					{
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/bx1tfskzkw/MACKLEMORE_and_RYAN_LEWIS_-_Irish_Celebration_Official_Music_Video_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 3:
					{
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/z25q88asey/Macklemore_and_amp_Ryan_Lewis-_Same_Love_feat._Mary_Lambert_Lyric_Video_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 4:
					{
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/4cyba0ue9p/Macklemore-_Thrift_Shop-_ACCURATE_LYRICS_ON_SCREEN_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_DRAKE)
	    {
	    if(response)
	        {
	        switch(listitem)
	            {
	                case 0:
	                {
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/32nfg0538n/Drake_-_Best_I_Ever_Had_w_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
	                case 1:
	                {
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/d6udowq7sf/Drake_-_Headlines_Lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
	                case 2:
	                {
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/cl7k70rpwu/Drake_-_Marvins_Room_Lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
	                case 3:
	                {
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ln4nxvsxt4/Drake_Ft._Kanye_West_Lil_Wayne_and_amp_Eminem_-_Forever_Original_Lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
	                case 4:
	                {
 	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/bpl7jz23a3/Over-Drake_Lyrics_On_Screen_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_PLAYLISTS)
	    {
	    if(response)
	        {
	        switch(listitem)
	            {
	                case 0:
	                {
	                	PlayAudioStreamForPlayer(playerid, "http://www.radioparadise.com/musiclinks/rp_128.m3u");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
	                }
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_HITSSS)
		{
		if(response)
		    {
		    switch(listitem)
		        {
					case 0:
					{
    					PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/8ih22w6d45/Kesha_-_Blow_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 1:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ds3c3zkbsz/Born_This_Way-_Lady_Gaga_LYRICS.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 2:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/b4nig4ey4g/Lupe_Fiasco_-_The_Show_Goes_on_lyrics_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 3:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/6dd9b7ni9z/Grenade-Bruno_Mars_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 4:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/n7mreil6or/Gym_Class_Heroes_-_Stereo_Hearts_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 5:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/gvmfdqbhvd/Party_Rock_Anthem_Audio_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 6:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/qylbo15cqc/I_Need_A_Doctor_-_Eminem_ft._Dr._Dre_and_amp_Skylar_Grey_Lyrics.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 7:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ctdfm61y07/Wiz_Khalifa_-_No_Sleep_HD_LYRICS_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 8:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/qgdx9ku18q/Katy_Perry_-_ET_Lyrics..mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
					case 9:
					{
  	                	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/dz6reiw0yy/Wiz_Khalifa-_Black_and_Yellow_LYRICS_.mp3");
		                SendClientMessage(playerid, COLOR_YELLOW, "You have started a AudioSteam");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_HITSS)
		{
		if(response)
		    {
		    switch(listitem)
		        {
					case 0:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/fs33xwhxur/LMFAO_-_Sexy_and_i_know_it_lyrics_NEW.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 1:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/u75m71cknm/Rack_City_-_Tyga_-_Lyrics.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 2:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/504v3dai7q/Train_-_Drive_By_Lyrics.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 3:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ln8r93xtd8/Carly_Rae_Jepsen_-_Call_Me_Maybe_LYRICS_-_New_Single_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 4:
					{
  					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ouhqlyxqxe/Whistle_-_Flo_Rida_-_Lyrics.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 5:
					{
  					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/lobvxvlgdd/Drake_ft._Rihanna_-_Take_Care_LYRICS_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 6:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/1zbx0r6fo3/Young_Wild_and_amp_Free_Lyrics_-_Wiz_Khalifa_feat._Snoop_Dogg.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 7:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/9rydl3npcc/Flo_Rida_-_Good_Feeling_Lyrics_on_screen_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 8:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/v83nunvfef/Jay-Z_ft_Kanye_West_-_Niggas_In_Paris_LYRICS_ON_SCREEN_HD_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 9:
					{
 					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/yczouprm99/Katy_Perry_-_The_One_That_Got_Away_Lyrics.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	if(dialogid == DIALOG_MUSIC_HITS)
		{
		if(response)
		    {
		    switch(listitem)
				{
				    case 0:
				    {
				    	PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/2c77kaegt5/Lady_Gaga_-_Applause_Official_.mp3");
						SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
				    }
   					case 1:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/1v4l82x4nu/Lana_Del_Rey_-_Summertime_Sadness.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 2:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/11os4ugqn1/Lorde_-_Royals.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 3:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/i803retrlq/Miley_Cyrus_-_Wrecking_Ball.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 4:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/hgfd63p8n8/Wake_Me_Up_--_Avicii_ft._Aloe_Blacc_Lyrics.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 5:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/a7fl3k6hr3/Blurred_Lines_-_Robin_Thicke_Lyrics.mp3");
						SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 6:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ub1g2zvsj8/Capital_Cities_-_Safe_and_Sound.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 7:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/66h4m2mg7p/Drake_-_Hold_On_We_re_Going_Home_Lyrics_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 8:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/wldmg72u3z/JAY_Z_and_quot_Holy_Grail_and_quot_featuring_Justin_Timberlake.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
					case 9:
					{
					    PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/olwfhi7yxh/Katy_Perry_-_Roar_Official_.mp3");
					    SendClientMessage(playerid, COLOR_YELLOW, "You have started a Audio Stream");
					}
				}
			}
  		else return ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Playlists\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Music", "Open", "Cancel");
	}
	return 1;
}
I use ZCMD and the commands go like this
Код:
CMD:music(playerid, params[])
{
	ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "1.Radio Stations\n2.2013 Hit Songs\n3.2012 Hit Songs\n4.2011 Hit Songs\n5.Top 5 Drake Songs\n6.Top 5 Macklemore Songs\n7.Top 5 Jay Z Songs\n8.Top 5 Ke$ha Songs\n9.Top 5 Childish Gambino Songs\n10.RCON Admin Songs", "Open", "Cancel");
	return 1;
}
and to stop the music

Код:
CMD:stopmusic(playerid, params[])
{
	StopAudioStreamForPlayer(playerid);
	SendClientMessage(playerid, COLOR_YELLOW, "You have stopped the audio stream!");
	return 1;
}
Thank's enjoy