#include <a_samp>#include <fixchars>#include <zcmd>#define FILTERSCRIPT//----------==========[TextDraw-ok]==========----------//new Text:Textdraw0;new Text:Textdraw1;new Text:Textdraw2;new Text:Textdraw3;new Text:Textdraw4;new Text:Textdraw5;new Text:Textdraw6;new Text:Textdraw7; public OnFilterScriptInit(){ Textdraw0 = TextDrawCreate(263.000000, 137.000000, \"Music FM\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 1);TextDrawLetterSize(Textdraw0, 0.469999, 2.900001);TextDrawColor(Textdraw0, 16711935);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);TextDrawUseBox(Textdraw0, 1);TextDrawBoxColor(Textdraw0, 255);TextDrawTextSize(Textdraw0, 365.000000, 12.000000);TextDrawSetSelectable(Textdraw0, 1);Textdraw1 = TextDrawCreate(263.000000, 173.000000, \"Klub FM\");TextDrawBackgroundColor(Textdraw1, 255);TextDrawFont(Textdraw1, 1);TextDrawLetterSize(Textdraw1, 0.529999, 2.800000);TextDrawColor(Textdraw1, 16711935);TextDrawSetOutline(Textdraw1, 0);TextDrawSetProportional(Textdraw1, 1);TextDrawSetShadow(Textdraw1, 1);TextDrawUseBox(Textdraw1, 1);TextDrawBoxColor(Textdraw1, 255);TextDrawTextSize(Textdraw1, 365.000000, 12.000000);TextDrawSetSelectable(Textdraw1, 1);Textdraw2 = TextDrawCreate(263.000000, 209.000000, \"Tilos FM\");TextDrawBackgroundColor(Textdraw2, 255);TextDrawFont(Textdraw2, 1);TextDrawLetterSize(Textdraw2, 0.519999, 2.700001);TextDrawColor(Textdraw2, 16711935);TextDrawSetOutline(Textdraw2, 0);TextDrawSetProportional(Textdraw2, 1);TextDrawSetShadow(Textdraw2, 1);TextDrawUseBox(Textdraw2, 1);TextDrawBoxColor(Textdraw2, 255);TextDrawTextSize(Textdraw2, 365.000000, 12.000000);TextDrawSetSelectable(Textdraw2, 1);Textdraw3 = TextDrawCreate(263.000000, 243.000000, \"Media FM\");TextDrawBackgroundColor(Textdraw3, 255);TextDrawFont(Textdraw3, 1);TextDrawLetterSize(Textdraw3, 0.439999, 2.900001);TextDrawColor(Textdraw3, 16711935);TextDrawSetOutline(Textdraw3, 0);TextDrawSetProportional(Textdraw3, 1);TextDrawSetShadow(Textdraw3, 1);TextDrawUseBox(Textdraw3, 1);TextDrawBoxColor(Textdraw3, 255);TextDrawTextSize(Textdraw3, 365.000000, 12.000000);TextDrawSetSelectable(Textdraw3, 1);Textdraw4 = TextDrawCreate(231.000000, 95.000000, \"-\");TextDrawBackgroundColor(Textdraw4, 16777215);TextDrawFont(Textdraw4, 1);TextDrawLetterSize(Textdraw4, 0.439999, 21.799993);TextDrawColor(Textdraw4, 16777215);TextDrawSetOutline(Textdraw4, 0);TextDrawSetProportional(Textdraw4, 1);TextDrawSetShadow(Textdraw4, 1);TextDrawUseBox(Textdraw4, 1);TextDrawBoxColor(Textdraw4, 16777215);TextDrawTextSize(Textdraw4, 390.000000, -2.000000);TextDrawSetSelectable(Textdraw4, 0);Textdraw5 = TextDrawCreate(228.000000, 125.000000, \"-------------------\");TextDrawBackgroundColor(Textdraw5, 255);TextDrawFont(Textdraw5, 1);TextDrawLetterSize(Textdraw5, 0.599999, 1.399999);TextDrawColor(Textdraw5, -1);TextDrawSetOutline(Textdraw5, 0);TextDrawSetProportional(Textdraw5, 1);TextDrawSetShadow(Textdraw5, 1);TextDrawSetSelectable(Textdraw5, 0);Textdraw6 = TextDrawCreate(236.000000, 86.000000, \"Rádió\");TextDrawBackgroundColor(Textdraw6, 255);TextDrawFont(Textdraw6, 1);TextDrawLetterSize(Textdraw6, 1.720000, 5.099998);TextDrawColor(Textdraw6, -1);TextDrawSetOutline(Textdraw6, 0);TextDrawSetProportional(Textdraw6, 1);TextDrawSetShadow(Textdraw6, 1);TextDrawSetSelectable(Textdraw6, 0);Textdraw7 = TextDrawCreate(350.000000, 269.000000, \"X\");TextDrawBackgroundColor(Textdraw7, 255);TextDrawFont(Textdraw7, 1);TextDrawLetterSize(Textdraw7, 0.889999, 2.900000);TextDrawColor(Textdraw7, -16776961);TextDrawSetOutline(Textdraw7, 0);TextDrawSetProportional(Textdraw7, 1);TextDrawSetShadow(Textdraw7, 1);TextDrawSetSelectable(Textdraw7, 1);print(\"\\n--------------------------------------\");print(\" H4ckFlux Rádió Scriptje betöltve! \");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}public OnPlayerClickTextDraw(playerid, Text:clickedid){if(clickedid == Textdraw0){ PlayAudioStreamForPlayer(playerid, \"http://stream.musicfm.hu:8000/musicfm.mp3\"); TextDrawHideForPlayer(playerid, Textdraw0); TextDrawHideForPlayer(playerid, Textdraw1); TextDrawHideForPlayer(playerid, Textdraw2); TextDrawHideForPlayer(playerid, Textdraw3); TextDrawHideForPlayer(playerid, Textdraw4); TextDrawHideForPlayer(playerid, Textdraw5); TextDrawHideForPlayer(playerid, Textdraw6); TextDrawHideForPlayer(playerid, Textdraw7); CancelSelectTextDraw(playerid); } if(clickedid == Textdraw1) {TextDrawHideForPlayer(playerid, Textdraw0);TextDrawHideForPlayer(playerid, Textdraw1);TextDrawHideForPlayer(playerid, Textdraw2);TextDrawHideForPlayer(playerid, Textdraw3);TextDrawHideForPlayer(playerid, Textdraw4);TextDrawHideForPlayer(playerid, Textdraw5);TextDrawHideForPlayer(playerid, Textdraw6);TextDrawHideForPlayer(playerid, Textdraw7); PlayAudioStreamForPlayer(playerid, \"http://klubradio.hu:8080/96kbit.m3u\"); CancelSelectTextDraw(playerid); } if(clickedid == Textdraw2) {TextDrawHideForPlayer(playerid, Textdraw0);TextDrawHideForPlayer(playerid, Textdraw1);TextDrawHideForPlayer(playerid, Textdraw2);TextDrawHideForPlayer(playerid, Textdraw3);TextDrawHideForPlayer(playerid, Textdraw4);TextDrawHideForPlayer(playerid, Textdraw5);TextDrawHideForPlayer(playerid, Textdraw6);TextDrawHideForPlayer(playerid, Textdraw7); PlayAudioStreamForPlayer(playerid, \"http://stream.tilos.hu:80/tilos_128.mp3.m3u\"); CancelSelectTextDraw(playerid); } if(clickedid == Textdraw3) { TextDrawHideForPlayer(playerid, Textdraw0);TextDrawHideForPlayer(playerid, Textdraw1);TextDrawHideForPlayer(playerid, Textdraw2);TextDrawHideForPlayer(playerid, Textdraw3);TextDrawHideForPlayer(playerid, Textdraw4);TextDrawHideForPlayer(playerid, Textdraw5);TextDrawHideForPlayer(playerid, Textdraw6);TextDrawHideForPlayer(playerid, Textdraw7); PlayAudioStreamForPlayer(playerid, \"http://mr-stream.mediaconnect.hu/4738/mr2.mp3.m3u\");CancelSelectTextDraw(playerid); } if(clickedid == Textdraw7) {TextDrawHideForPlayer(playerid, Textdraw0);TextDrawHideForPlayer(playerid, Textdraw1);TextDrawHideForPlayer(playerid, Textdraw2);TextDrawHideForPlayer(playerid, Textdraw3);TextDrawHideForPlayer(playerid, Textdraw4);TextDrawHideForPlayer(playerid, Textdraw5);TextDrawHideForPlayer(playerid, Textdraw6);TextDrawHideForPlayer(playerid, Textdraw7); SendClientMessage(playerid, -1, \"Kiléptél a menübõl.\"); CancelSelectTextDraw(playerid); }return 1;}CMD:radio(playerid){TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);TextDrawShowForPlayer(playerid, Textdraw2);TextDrawShowForPlayer(playerid, Textdraw3);TextDrawShowForPlayer(playerid, Textdraw4);TextDrawShowForPlayer(playerid, Textdraw5);TextDrawShowForPlayer(playerid, Textdraw6);TextDrawShowForPlayer(playerid, Textdraw7);SelectTextDraw(playerid, 0x000000AA);return 1;}CMD:radioki(playerid){StopAudioStreamForPlayer(playerid);SendClientMessage(playerid, -1, \"Zene megállítva!\");return 1;}