Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* |-----------------------------------------------------------|
- |- Sistema de radio portatil feito por: Boliva RevolutioN -|
- |- Para uso do blog: Homehots -|
- |- Radio: Radio Sound Hits -|
- |- Acesse: www.radiosh.com.br -|
- |-----------------------------------------------------------|
- */
- // Includes
- #include <a_samp>
- #include streamer
- // Defines
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- // Publics
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" HomeHots - S.Radio");
- print("--------------------------------------\n");
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" HomeHots - S.Radio");
- print("----------------------------------\n");
- }
- public OnPlayerCommandText(playerid , cmdtext[])
- {
- if (strcmp("/radiosh", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog ( playerid , 1245 , DIALOG_STYLE_LIST , "Radio Sound Hits" , "{33CCFF}Ligar Radio\n{33CCFF}Creditos Radio\n{33CCFF}Informaçoes\n{33CCFF}Link Util\n{33CCFF}Desligar Radio" , "OK" , "Cancelar" ) ;
- return 1 ;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if (dialogid == 1245)
- {
- if ( response )
- {
- if ( listitem == 0 )
- {
- {
- PlayAudioStreamForPlayer ( playerid , "http://stm12.painel.foxsolucoes.net:11352/" ) ; // Radio Sound Hits
- SendClientMessage ( playerid , 0x33CCFFAA , "Radio Sound Hits {FFFFFF} Ligada {33CCFF} Espere Alguns Segundos Para tocar!" ) ;
- }
- }
- if ( listitem == 1 )
- {
- {
- SendClientMessage ( playerid , 0x33CCFFAA , "Sistema de Radio feito por Boliva RevolutioN em parceria com Radio Sound Hits!" ) ;
- }
- }
- if ( listitem == 2 )
- {
- {
- SendClientMessage ( playerid , 0x33CCFFAA , "Acesse: www.radiosh.com para pedir sua musica e mandar um salve para galera do servidor " ) ;
- }
- }
- if ( listitem == 3 )
- {
- {
- SendClientMessage ( playerid , 0x33CCFFAA , "Links para acessar a {FFFFFF}Radio Sound Hits: {33CCFF}Sound Hitsfm.com" ) ;
- }
- }
- if ( listitem == 4 )
- {
- {
- StopAudioStreamForPlayer ( playerid );
- SendClientMessage ( playerid , 0x33CCFFAA , "Radio Sound Hits desligada!!" );
- }
- }
- }
- }
- return 1 ;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement