Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Johny32 © Radio_Song System For 0.3x+0.3e |2012-2013
- //Verision 2
- #include <a_samp>
- #if defined FILTERSCRIPT
- #else
- /*[You can remove me!] This is one Special feature, added on verision 2.
- public OnPlayerConnect(playerid)
- {
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/c3oa28hks0/specialsampserversong.mp3");
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- StopAudioStreamForPlayer(playerid);
- return 1;
- }
- [You can remove me!] */
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- //Command
- if(!strcmp(cmdtext, "//help", true))
- {
- SendClientMessage(playerid, 0xB8860BAA, "[Song cmds] //songs //song1-7");
- SendClientMessage(playerid, 0xB8860BAA, "[Radio cmds] //radios //radio1-4");
- SendClientMessage(playerid, 0xB8860BAA, "[GTA Theme songs] //gtassongs //gtasong1-4");
- SendClientMessage(playerid, 0xB8860BAA, "[Best of 90's & 80's mix] //90smix //80smix");
- SendClientMessage(playerid, 0xB8860BAA, "[Extra] //dance //stop");
- return 1;
- }
- //Songs
- if(!strcmp(cmdtext, "//songs", true))
- {
- SendClientMessage(playerid, 0x808000FF, "___|Song List|__");
- SendClientMessage(playerid, 0x10F441AA, "Enrique Iglesias - Finally Found You = //song1");
- SendClientMessage(playerid, 0x10F441AA, "Jamiroquai - Seven Days In Sunny June = //song2");
- SendClientMessage(playerid, 0x10F441AA, "Lloyd - Get It Shawty = //song3");
- SendClientMessage(playerid, 0x10F441AA, "Chris Wallace - Remember When = //song4");
- SendClientMessage(playerid, 0x10F441AA, "Eddie Rabbitt - I Love A Rainy Night = //song5");
- SendClientMessage(playerid, 0x10F441AA, "Justin Timberlake ft Jay-Z - Suit Tie = //song6");
- SendClientMessage(playerid, 0x10F441AA, "Rob Zombie - Dragula = //song7");
- GameTextForPlayer(playerid,"~b~Audio list:", 900, 3);
- return 1;
- }
- if(!strcmp(cmdtext, "//song1", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Enrique Iglesias - Finally Found You | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/g3tsxan409/finally_found_you_johny32_.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song2", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Jamiroquai - Seven Days In Sunny June | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/4jfr9k8nab/jamiroquai_-_seven_days_in_sunny_june_johny32_.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song3", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Lloyd - Get It Shawty | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/e9dgzh92fj/lloyd_-_get_it_shawty_johny32_.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song4", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Chris Wallace - Remember When | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/1v5spm6646/remember_when_push_rewind_johny32_.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song5", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Eddie Rabbitt - I Love A Rainy Night | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/kv8t3hi0vv/eddie_rabbitt_-_i_love_a_rainy_night.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song6", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Justin Timberlake ft Jay-Z - Suit Tie | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/hqto4gc8zp/justin_timberlake_ft_jay-z_-_suit_tie.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//song7", true))
- {
- SendClientMessage(playerid, 0x808000FF, "[Song] Rob Zombie - Dragula | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/qw525f998n/rob_zombie_-_dragula");
- return 1;
- }
- //Radios
- if(!strcmp(cmdtext, "//radios", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "___|Radio List|__");
- SendClientMessage(playerid, 0x10F441AA, "Soma Fm = //radio1");
- SendClientMessage(playerid, 0x10F441AA, "Sky Fm = //radio2");
- SendClientMessage(playerid, 0x10F441AA, "Ibiza Global Radio = //radio3");
- SendClientMessage(playerid, 0x10F441AA, "Hit104 = //radio4");
- GameTextForPlayer(playerid,"~b~Audio list:", 900, 3);
- return 1;
- }
- if(!strcmp(cmdtext, "//radio1", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "[Radio] Soma fm | //stop");
- PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
- return 1;
- }
- if(!strcmp(cmdtext, "//radio2", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "[Radio] Sky Fm | //stop");
- PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=86433");
- return 1;
- }
- if(!strcmp(cmdtext, "//radio3", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "[Radio] Ibiza Global Radio | //stop");
- PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=108900");
- return 1;
- }
- if(!strcmp(cmdtext, "//radio4", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "[Radio] Hit-104 | //stop");
- PlayAudioStreamForPlayer(playerid, "http://tuner.hit104.com:80");
- return 1;
- }
- if(!strcmp(cmdtext, "//radio5", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "[Radio] Rap & Hip hop | //stop");
- PlayAudioStreamForPlayer(playerid, "http://105-stream-02.datacomm.ch:8000/105dope");
- return 1;
- }
- //Gta theme songs
- if(!strcmp(cmdtext, "//gtassongs", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "___|Gta Theme Songs List|__");
- SendClientMessage(playerid, 0x10F441AA, "Gta SA = //gtasong1");
- SendClientMessage(playerid, 0x10F441AA, "Gta VC = //gtasong2");
- SendClientMessage(playerid, 0x10F441AA, "Gta III = //gtasong3");
- SendClientMessage(playerid, 0x10F441AA, "Gta IV = //gtasong4");
- GameTextForPlayer(playerid,"~b~Audio list:", 900, 3);
- return 1;
- }
- if(!strcmp(cmdtext, "//gtasong1", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "Gta SA | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/6m057l4mpy/sathemesong.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//gtasong2", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "Gta VC | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/f7e0s3xs15/vcthemesong.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//gtasong3", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "Gta 3 | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/8gbf7rtiq4/gta3themesong.mp3");
- return 1;
- }
- if(!strcmp(cmdtext, "//gtasong4", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "Gta IV | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/12kovixpxe/ivthemesong.mp3");
- return 1;
- }
- //Extra
- if(strcmp(cmdtext, "//dance", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4); //If you dont like this anim check this: SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2); REPLACE IT if you like to put this
- GameTextForPlayer(playerid,"~b~ Press F or Enter to stop the anim", 1000, 5);
- return 1;
- }
- if(!strcmp(cmdtext, "//stop", true))
- {
- GameTextForPlayer(playerid,"~y~ Audio stoped!", 300, 1);
- StopAudioStreamForPlayer(playerid);
- return 1;
- }
- //90s
- if(!strcmp(cmdtext, "//90smix", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "90's Special Mix | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/ahnpljpnq5/90sbest_.mp3");
- GameTextForPlayer(playerid,"~p~enjoy!", 100, 1);
- return 1;
- }
- //80s
- if(!strcmp(cmdtext, "//80smix", true))
- {
- SendClientMessage(playerid, 0xFFA500FF, "80's Special Mix | //stop");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/83xiog97kl/80sbest_.mp3");
- GameTextForPlayer(playerid,"~p~enjoy!", 100, 1);
- return 1;
- }
- return 0;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment