Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- FS Totalmente Criado Por: Panico
- Nao Retire os Creditos ;D
- */
- #include <a_samp>
- forward SendMSG();
- new RandomMSG[][] =
- {
- "Esta Afim de Ouvir Uma Musiquinha?Use: /radios !!",
- "Quer Ouvir Musicas Em quanto joga SAMP?Use:/radios"
- };
- public OnFilterScriptInit()
- {
- SetTimer("SendMSG", 300000, true);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public SendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- SendClientMessageToAll(0x00FE19FF, RandomMSG[randMSG]);
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/radios", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_LIST, "Lista de Radios", "{FF0000}Radio Hunter\n{00EEFF}Radio Super Mix\n{04FF00}Radio PureDJ\n{0400FF}Radio Nova Web\n{FF00EA}Radio Electro Vibe\n{FBFF00}Radio Team Expert\n{B700FF}Radio Relax\n{B4B4B4}Desligar", "OK", "Cancelar");
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 1245){
- if(response){
- if(listitem == 0){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");//Radio Hunter
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Hunter {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 1){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://radiosupermix.com.br:7585");// SUPER MIX
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Super Mix {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 2){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://66.90.101.54:8120");//Radio PureDJ
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio PureDJ {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 3){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://69.162.90.148:7080/");//Nova Web
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Nova Web {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 4){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://streaming15.brlogic.com:8084/live");//Radio Electro Vibe
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Electro Vibe {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 5){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://64.31.30.91:9980");//Team Expert
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Team Expert {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 6){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://streaming18.brlogic.com:8204/live");//Relax
- SendClientMessage(playerid, 0x33CCFFAA, "{FF0000}Radio Relax {FFFFFF}Ligada!{BCBCBC}Epere Alguns Segundos Para Tocar!");
- }
- }
- if(listitem == 7){
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, 0x33CCFFAA, "{BCBCBC}Vc Desligou a Radio!");
- }
- }
- }
- else{
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment