Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // . . .=+=+=+=+=+=+=+=+=+=+=+=+= RADIO SCRIPT BY VAIBHAV =+=+=+=+=+=+=+=+=+=+=+=+=+=+=. . .
- #include <a_samp>
- #define FILTERSCRIPT
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_PINK 0xFFC0CBAA
- #define COLOR_RED 0xAA3333AA
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Online Radio script by •rTbreN_");
- print("--------------------------------------\n");
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Online Radio script by •rTbreN_");
- print("----------------------------------\n");
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp("/Radio info", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
- SendClientMessage(playerid, COLOR_WHITE, "Getting Bore Want Some Music Use /Radio on");
- SendClientMessage(playerid, COLOR_WHITE, "Want To Stop Radio Use /Radio off");
- SendClientMessage(playerid, COLOR_WHITE, "We Hope You Like The Radio , Enjoy It.");
- SendClientMessage(playerid, COLOR_PINK, "The Radio Script Is Fully Made By Vaibhav");//Don't change credites please.
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
- return 1;
- }
- if (strcmp("/Radio off", cmdtext, true, 10) == 0)
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
- return 1;
- }
- if (strcmp("/Radio on", cmdtext, true) == 0)
- {
- PlayAudioStreamForPlayer(playerid, "http://www.adriastream.net/cast/tunein.php/impulsradio/playlist.pls");
- SendClientMessage(playerid, 0xFFFFFFAA, "Type /Radio off to stop audio streaming.");
- return 1;
- //Fully created by Vaibhav
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement