Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include a_samp
- #include zcmd
- #define RADIOS 5324
- #define Amarelo 0xEBFF00AA
- public OnFilterScriptInit()
- {
- print(" Aproveitem ao Máximo ");
- print(" FILTERSCRIPT BY: WalterSantos ");
- print(" Rádios Atualizadas para seu Servidor ");
- return 1;
- }
- CMD:radios(playerid){
- ShowPlayerDialog(playerid,RADIOS,DIALOG_STYLE_LIST,"Radios","{00F5FF}Radio Hunter\n{009ACD}Radio Funk\n{FFD700}Radio Sertanejo\n{CD00CD}Radio Hip Hop\n{FF0000}Radio Reggae\n{EEE0E5}Desligar Radio","Selecionar","Cancelar");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){
- if(dialogid == RADIOS){
- if(response){
- switch(listitem){
- case 0:{
- PlayAudioStreamForPlayer(playerid,"http://listen.shoutcast.com:80/RadioHunter-TheHitzChannel");
- SendClientMessage(playerid,Amarelo,"[INFO: {00F5FF}Rádio Hunter selecionada!");
- }
- case 1:{
- PlayAudioStreamForPlayer(playerid,"http://stm50.srvstm.com:12206");
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Rádio Funk selecionada!");
- }
- case 2:{
- PlayAudioStreamForPlayer(playerid,"http://158.69.25.26:8353/stream");
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Rádio Sertanejo selecionada!");
- }
- case 3:{
- PlayAudioStreamForPlayer(playerid,"http://108.61.30.179:4010");
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Rádio Hip Hop selecionada!");
- }
- case 4:{
- PlayAudioStreamForPlayer(playerid,"http://176.31.246.143:8300");
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Rádio Reggae selecionada!");
- }
- case 5:{
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid,Amarelo,"[INFO]: {00F5FF}Rádio Desligada!{00F5FF}");
- }
- }
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement