Filterscripts --------------- Loading filterscript 'rracees.amx'... Loading filterscript 'radio.amx'... Loaded 2 filterscripts. |
Show us these filterscripts as I may know, there are link in the filterscript that are supposed to turn on music, but the links are dead.
|
// Radio Filterscript made by Matt #include <a_samp> #pragma tabsize 0 //COLORS #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_BRIGHTRED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_PINK 0xFF66FFAA #define COLOR_BLUE 0x3A47DEFF #define COLOR_TAN 0xBDB76BAA #define COLOR_PURPLE 0x800080AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define COLOR_INDIGO 0x4B00B0AA #define COLOR_BLACK 0x00000000 #define COLOR_DARKGREY 0x696969FF #define COLOR_RED 0xFF000000 #define COLOR_LBLUE 0x33CCFF19 #define RADIO 66 #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Radio Filterscript by Matt"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/radio", true)) { new string[3000]; strcat(string,"{FF0000}Stop Radio\n"); strcat(string,"{0000FF}181.FM - POWER 181\n"); strcat(string,"{006400}181.FM - Chilled\n"); strcat(string,"{FF8C00}181.FM - Party\n"); strcat(string,"{008000}181.FM - Highway 181\n"); strcat(string,"{4B00B0}181.FM - Kickin' Country\n"); strcat(string,"{00FF00}COUNTRY 108\n"); strcat(string,"{FFC0CB}DEFJAY.COM - 100% R&B\n"); strcat(string,"{A52A2A}Antena1 SP 94,7 FM\n"); strcat(string,"{808080}idobi Radio\n"); strcat(string,"{FF0000}America Country Radio\n"); strcat(string,"{0000FF}Absolutely Smooth Jazz - SKY.FM\n"); strcat(string,"{006400}SmoothJazz.com Global Radio\n"); strcat(string,"{FF8C00}CnR Radio\n"); strcat(string,"{008000}))) POLSKASTACJA .PL )))\n"); strcat(string,"{4B00B0}NOISEfm.pl - Niezalezne Radio Rock\n"); strcat(string,"{00FF00}RadioTeenTal Indian and Bollywood\n"); strcat(string,"{FFC0CB}DUBSTEP.FM\n"); strcat(string,"{A52A2A}PARTY VIBE RADIO\n"); strcat(string,"{808080}RADIO ORO MARBELLA EN DIRECTO\n"); strcat(string,"{FF0000}Radio Nueva Vida\n"); ShowPlayerDialog(playerid, RADIO, DIALOG_STYLE_LIST,"{ADD8E6}mmtech {90EE90}Radio",string,"Select","Cancel"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == RADIO) { if(listitem == 0) { StopAudioStreamForPlayer(playerid); GameTextForPlayer(playerid, "Radio Stopped.",2500,1); } if(listitem == 1) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283896"); GameTextForPlayer(playerid, "Playing 181.FM - POWER 181...",2500,1); } if(listitem == 2) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402"); GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1); } if(listitem == 3) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=508962"); GameTextForPlayer(playerid, "Playing 181.FM - Party...",2500,1); } if(listitem == 4) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=297243"); GameTextForPlayer(playerid, "Playing 181.FM - Highway 181...",2500,1); } if(listitem == 5) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283687"); GameTextForPlayer(playerid, "Playing 181.FM - Kickin' Country...",2500,1); } if(listitem == 6) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=248370"); GameTextForPlayer(playerid, "Playing COUNTRY 108...",2500,1); } if(listitem == 7) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=520036"); GameTextForPlayer(playerid, "Playing DEFJAY.COM - 100% R&B...",2500,1); } if(listitem == { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=203280"); GameTextForPlayer(playerid, "Playing Antena1 SP 94,7 FM...",2500,1); } if(listitem == 9) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=914897"); GameTextForPlayer(playerid, "Playing idobi Radio...",2500,1); } if(listitem == 10) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=210158"); GameTextForPlayer(playerid, "Playing America Country Radio...",2500,1); } if(listitem == 11) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=86433"); GameTextForPlayer(playerid, "Playing Absolutely Smooth Jazz - SKY.FM...",2500,1); } if(listitem == 12) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=467000"); GameTextForPlayer(playerid, "Playing SmoothJazz.com Global Radio...",2500,1); } if(listitem == 13) { PlayAudioStreamForPlayer(playerid, "http://cnr-radio.com/listen.m3u"); GameTextForPlayer(playerid, "Playing CnR Radio...",2500,1); } if(listitem == 14) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=721890"); GameTextForPlayer(playerid, "Playing ))) POLSKASTACJA .PL )))...",2500,1); } if(listitem == 15) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=31903"); GameTextForPlayer(playerid, "Playing NOISEfm.pl - Niezalezne Radio Rock...",2500,1); } if(listitem == 16) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35899"); GameTextForPlayer(playerid, "Playing RadioTeenTal Indian and Bollywood...",2500,1); } if(listitem == 17) { PlayAudioStreamForPlayer(playerid, "http://www.dubstep.fm/listen.pls"); GameTextForPlayer(playerid, "Playing DUBSTEP.FM...",2500,1); } if(listitem == 1 { PlayAudioStreamForPlayer(playerid, "http://servers.internet-radio.com/tools/playlistgenerator/?u=http://www.partyvibe.com:8006/listen.pls&t=.pls"); GameTextForPlayer(playerid, "Playing PARTY VIBE RADIO...",2500,1); } if(listitem == 19) { PlayAudioStreamForPlayer(playerid, "http://servers.internet-radio.com/tools/playlistgenerator/?u=http://92.48.107.35:8004/listen.pls&t=.pls"); GameTextForPlayer(playerid, "Playing RADIO ORO MARBELLA EN DIRECTO...",2500,1); } if(listitem == 20) { PlayAudioStreamForPlayer(playerid, "http://servers.internet-radio.com/tools/playlistgenerator/?u=http://sc1.christiannetcast.com:9138/listen.pls&t=.pls"); GameTextForPlayer(playerid, "Playing Radio Nueva Vida...",2500,1); } } } |
#define FILTERSCRIPT
#include <a_samp>
// rest..
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
// inside...
return 0; // <- it should return false in that callback if it's filterscript. Otherwise true.
}