// . . .=+=+=+=+=+=+=+=+=+=+=+=+= 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)
{
if(!IsPlayerAdmin(playeid)) return SendClientMessage(playerid,0xCCCCCCCC,"You're not an admin.");
for(new i = 0; i < MAX_PLAYERS; i++) StopAudioStreamForPlayer(i);
SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
return 1;
}
if (strcmp("/Radio on", cmdtext, true) == 0)
{
if(!IsPlayerAdmin(playeid)) return SendClientMessage(playerid,0xCCCCCCCC,"You're not an admin.");
for(new i = 0; i < MAX_PLAYERS; i++) PlayAudioStreamForPlayer(i, "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;
}
Can you please make
/radioall on to turn on to all players,rcon admins /radio on to player can turn on it! Please make it 185.38.46.134:7469 Thank you |