Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- #include <foreach>
- #define COLOR_GRAY 0xAFAFAFAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_PURPLE 0xC2A2DAAA
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n***********************************");
- print(" MP3 Filterscript By Eze Aka Uldis");
- print("***********************************\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n***********************************");
- print(" MP3 Filterscript By Eze Aka Uldis Unloadded!");
- print("***********************************\n");
- }
- #endif
- CMD:mp3(playerid, params[])
- {
- if(isnull(params))
- {
- SendClientMessage(playerid, COLOR_GRAY, "{99FFFF}USAGE: /mp3 [Music ID] (0 - Turn of the MP3 Player.)");
- SendClientMessage(playerid, COLOR_GREEN, "(1)Gangnam Style (2)Eminem No Love (3)The Cataracs Top Of The World (4)Stupid Motha Fucka (5)Pumped Up Kicks (6)Eminem - Not Afraid");
- SendClientMessage(playerid, COLOR_GRAY, "{99FFFF}(7)Young wild and free (8) Wild Ones (9)Sexy Bitch (10) Lonely (11)Bruno Mars Runaway Baby (12)Bruno Mars The Lazy Song");
- SendClientMessage(playerid, COLOR_GREEN, "(13)Bruno Mars billionaire(14) Eminem - Yellow Brick Road (15)Chief Keef - Rollin (16)Chief Keef - Save that Shit");
- SendClientMessage(playerid, COLOR_GRAY, "{99FFFF}(17)Snoop Dog - (18)Real One Neon Hitch - Fuck You Betta (19)The Script - Hall of Fame (20)Modestep - Sunlight");
- SendClientMessage(playerid, COLOR_GREEN, "(21)Modestep - Feel Good(22)Knife party - Bonfire(23)Knife party - Centipeade(24)Knife party - Rage Valley");
- SendClientMessage(playerid, COLOR_GRAY, "{99FFFF}(25)Skillex Bangrang(26)Skillex Ruffneck(27)Richboy - I love you(28)Gangsta Boo - Nothing to a Gangsta");
- SendClientMessage(playerid, COLOR_GREEN, "(29)Chief Keef - Appreciation(30)Chief Keef - I don't like(31)Chief Keef - Soulja Boy(32)Chief Keef - Everyday");
- SendClientMessage(playerid, COLOR_GRAY, "{99FFFF}(33)Chief Keef - 3Hunna(34)Jojo - Coming for you(35)Jojo - Breezy(36)Jojo - Leave get out");
- SendClientMessage(playerid, COLOR_GREEN, "(37)Jojo - 3Hunna(38)Rosoce - I wanna be a rap star(39)Crucial Star(40)No Doubt - Settle Down(41)Flo Rida - Whistle");
- }
- new string[128];
- switch(strval(params)) {
- case 0: {
- format(string, sizeof(string), "* %s dips his/her hands into his/her pockets turning the mp3 player off.",GetPlayerNameEx(playerid));
- foreach(Player, i) if(GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid)){
- StopAudioStreamForPlayer(playerid);
- }
- }
- case 1: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Gangnam Style' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_m9v2ujdS2q1r5dxz2o1.mp3");
- }
- case 2: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Eminem No Love' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a1.radioplanet.tv/2010/06/EminemLilWayneNoLove.mp3");
- }
- case 3: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'The Cataracs Top Of The World' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://yusuke69.free.fr/Musique/Top-of-the-World.mp3");
- }
- case 4: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Stupid Motha Fucka' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://mediacloud.whirled.com/67f791aebe765f71d8fd82bd19de58b1c05bd27e.mp3");
- }
- case 5: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Pumped Up Kicks' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.colorsandthings.com/wp-content/uploads/2011/02/Pumped-Up-Kicks.mp3");
- }
- case 6: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Eminem Not Afraid' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://iwapsex.org/newvideo/mz/eminem-not_afraid_64.mp3");
- }
- case 7: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Young wild and free' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_lnnwbxHZNk1qdqek9o1.mp3");
- }
- case 8: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Wild Ones' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://sportsrantz.com/biggtv/files/2012/04/wild-ones-flo-rida.mp3");
- }
- case 9: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Sexy Bitch' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.hulkshare.com/dl/zn5nnt9gjqmj/sexy_bitch.mp3");
- }
- case 10: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Akon - Lonely' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.fizzlive.com/media/uploads/2/1/7/9/67059/audio_67059hzynfcruq16brpfucncrax7.mp3");
- }
- case 11: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Bruno Mars - Runaway Baby' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://04.media.v4.skyrock.com/music/044/809/044809719a00e2b41cfc102152432295.mp3");
- }
- case 12: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Bruno Mars - The lazy Song!' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://1cd.palco.fm/1/1/7/d/divulgamixsound--the-lazy-song.mp3");
- }
- case 13: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Bruno Mars billionaire' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://rbebenek.com/music/US_Top_40_9-18-2010/23-travie_mccoy_feat._bruno_mars_-_billionaire.mp3");
- }
- case 14: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Eminem - Yellow Brick Road' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.btc.co.uk/jim/yellow.mp3");
- }
- case 15: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef- Rollin' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://cdn.epitonic.com/uploads/tracks/Chief_Keef_-_Rollin.mp3");
- }
- case 16: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - Save that shit!' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_m6ga1nLm4O1qiewo4o1.mp3");
- }
- case 17: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Snoop Dog - Real One' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://mixtapemonkey.com/mixtapes/zip/111/Snoop%20Dogg%20-%20Tha%20Blue%20Carpet%20Treatment%20Tha%20Mixtape/18)%20snoop%20dog%20-%20real%20one.mp3");
- }
- case 18: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Neon Hitch - Fuck You Betta' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_m0ntxnYUgd1qd60uco1.mp3");
- }
- case 19: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'The Script - Hill of Fame",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_m814c35IQk1rycog8o1.mp3");
- }
- case 20: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Modestep - Sunlight' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://lsdm.legalsounds.com/download/e77d14bf72e9bbbd6e9058da2feab5d9/101_-_modestep_-_sunlight_-_ukf_dubstep.mp3");
- }
- case 21: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Modestep - Feel Good' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.rollingtuff.com/wp-content/uploads/2011/09/Modestep-Feel-Good.mp3");
- }
- case 22: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Knife party - Bonfire' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://q.soundowl.com/3hss.mp3");
- }
- case 23: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Knife party - Centipeade' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://promodj.com/download/3549995/Knife_Party_Centipede_Boys_Electro_Mash_Up.mp3");
- }
- case 24: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Knife party - Rage Valley' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://dl.soundowl.com/3h69.mp3");
- }
- case 25: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Skillex Bangrang' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://promodj.com/download/3553815/Skrillex_Bangarang_Dj_Geny_Tur_remix_DEMO.mp3");
- }
- case 26: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Skillex Ruffneck' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://promodj.com/source/3547611/Skrillex_Ruffneck_FULL_Flex_Dj_Vapnjar_remix_2012.mp3");
- }
- case 27: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Richboy - I love you' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://adstorage.jamba.net/storage/view/325/0/an/And_I_Love_You.mp3");
- }
- case 28: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Gangsta Boo - Nothing to a Gangsta' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.drum-squad.com/site/mixtape/boo_tracks/03_Nothing_to_a_Gangsta.mp3");
- }
- case 29: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - Appreciation' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://cdn.epitonic.com/uploads/tracks/Chief_Keef-Appreciation_1.mp3");
- }
- case 30: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - I Don't Like' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.theburningear.com/media/2012/07/I-Dont-Like-Dirty.mp3");
- }
- case 31: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - Soulja Boy' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://rapradar.files.wordpress.com/2012/08/soulja-boy-ft-chief-keef-d-flores-ugly.mp3");
- }
- case 32: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - Everyday' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_m2ej6769HI1r2q4c8o1.mp3");
- }
- case 33: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Chief Keef - 3Hunna' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_lyjqx9T2fm1qf5cqmo1.mp3");
- }
- case 34: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Jojo - Coming for ya' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://cfs.tistory.com/attach/4133/1151480087.mp3");
- }
- case 35: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Jojo - Breezy' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.angelfire.com/crazy/adork_uhble/Jojo_-_Breezy.mp3");
- }
- case 36: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Jojo - Leave get out' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://traceysdesigns.com/music/JoJo_LeaveGetOut.mp3");
- }
- case 37: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Jojo - 3Hunna' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.hulkshare.com/dl/eug0wlf2k90u/Jo_Jo-_3hunna_k.mp3");
- }
- case 38: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Rosoce - I wanna be a Rap Star' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.hulkshare.com/dl/o5s599bv7ipv/15._roscoe_-_i_wanna_be_a_rap_star_%28produsa_de_roscoe%29.mp3");
- }
- case 39: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Crucial Star' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.hulkshare.com/dl/95k7kxvd4fyo/crucial_star_-_scr_%28super_crucial_rap%29.mp3");
- }
- case 40: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'No Doubt - Settle Down' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://wingedbox.com/system/attachments/20742/original/No_Doubt_-_Settle_Down.mp3");
- }
- case 41: {
- format(string, sizeof(string), "* %s Dips his/her hand into his/her pocket taking out a mp3 player, turning 'Flo Rida - Whistle' Song on.",GetPlayerNameEx(playerid));
- PlayAudioStreamForPlayer(playerid, "http://www.audiopoisk.com/files/flo-rida/whistle-baby--2770037.mp3");
- }
- default: return SendClientMessage(playerid, COLOR_GRAY, "{330000}<!>{99FFFF}Invalid music ID! Please try again with the music ID!");
- }
- ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- return 1;
- }
- //end
- stock GetPlayerNameEx(playerid)
- {
- new pName[25];
- GetPlayerName(playerid, pName, sizeof(pName));
- return pName;
- }
- forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
- public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:posx, Float:posy, Float:posz;
- new Float:oldposx, Float:oldposy, Float:oldposz;
- new Float:tempposx, Float:tempposy, Float:tempposz;
- GetPlayerPos(playerid, oldposx, oldposy, oldposz);
- //radi = 2.0; //Trigger Radius
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
- {
- GetPlayerPos(i, posx, posy, posz);
- tempposx = (oldposx -posx);
- tempposy = (oldposy -posy);
- tempposz = (oldposz -posz);
- //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
- if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
- {
- SendClientMessage(i, col1, string);
- }
- else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
- {
- SendClientMessage(i, col2, string);
- }
- else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
- {
- SendClientMessage(i, col3, string);
- }
- else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
- {
- SendClientMessage(i, col4, string);
- }
- else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
- {
- SendClientMessage(i, col5, string);
- }
- }
- else
- {
- SendClientMessage(i, col1, string);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment