Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //////////////////////////////////////////////////////
- // //
- // Audio Stream Filter Script //
- // //
- // BY //
- // //
- // BoxBonik(BoxBoy) //
- // //
- //////////////////////////////////////////////////////
- #define COLOR_YELLOW 0xFFFF00AA
- #define FILTERSCRIPT
- #define DIALOG_MUSIC 12
- #define DIALOG_MUSIC_PLAYLISTS 13
- #define DIALOG_MUSIC_MP3 14
- #define DIALOG_MUSIC_HITS 15
- #define DIALOG_MUSIC_HITSS 16
- #define DIALOG_MUSIC_HITSSS 17
- #include <a_samp>
- #include <zcmd>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" NewAudioFS V.1");
- print("By BoxBonik(BoxBoy)");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- 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");
- }
- }
- }
- }
- 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", "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", "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", "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", "Open", "Cancel");
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- CMD:music(playerid, params[])
- {
- ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "Music", "Radio Stations\n2014 Hit Songs\n2012 Hit Songs\n2011 Hit Songs", "Open", "Cancel");
- return 1;
- }
- CMD:stopmusic(playerid, params[])
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, COLOR_YELLOW, "You have stopped the audio stream!");
- return 1;
Advertisement
Add Comment
Please, Sign In to add comment