Advertisement
Twister_FFC

Sistema De Radio Samp 3D

Jan 15th, 2012
2,894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. //Sitema De Web Radios
  2. //Criado Por [FFC]Twister
  3. //รจ Nois :D
  4.  
  5. #include <a_samp>
  6. #define Radios 100
  7. #define AMARELO_FFC 0xFFFF00AA
  8. //-------------------------------------------------
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. print("** Webs Radios By:[FFC]Twister Carregado Com Sucesso");
  13. return 1;
  14. }
  15. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  16. {
  17. if(dialogid ==Radios)
  18. {
  19. if(response)
  20. {//Radio Stronda
  21. if(listitem == 0)
  22. {
  23. SendClientMessage(playerid, AMARELO_FFC, "Radio Stronda Sintonizada");
  24. GameTextForPlayer(playerid,"~w~Radio Stronda Sintonizada",5000,3);
  25. PlayAudioStreamForPlayer(playerid, "http://65.60.15.180:8080/");
  26. return 1;
  27. }
  28. //Radio Nova Web
  29. if(listitem == 1)
  30. {
  31. SendClientMessage(playerid, AMARELO_FFC, "Radio Nova Web Sintonizada");
  32. GameTextForPlayer(playerid,"~y~Radio NovaWeb Sintonizada",5000,3);
  33. PlayAudioStreamForPlayer(playerid, "http://69.162.90.148:7080/");
  34. return 1;
  35. }
  36. //Radio FFC
  37. if(listitem == 2)
  38. {
  39. SendClientMessage(playerid, AMARELO_FFC, "Radio FFC Sintonizada");
  40. GameTextForPlayer(playerid,"~Y~Radio FFC Sintonizada",5000,3);
  41. PlayAudioStreamForPlayer(playerid, "http://184.154.37.136:8087/");
  42. return 1;
  43. }
  44. //Radio Extremo Mix
  45. if(listitem == 3)
  46. {
  47. SendClientMessage(playerid, AMARELO_FFC, "Radio Extremo Mix Sintonizada");
  48. GameTextForPlayer(playerid,"~w~Radio Extremo Mix Sintonizada",5000,3);
  49. PlayAudioStreamForPlayer(playerid, "http://184.154.37.136:8083/");
  50. return 1;
  51. }
  52. //Radio Mantiquera
  53. if(listitem == 4)
  54. {
  55. SendClientMessage(playerid, AMARELO_FFC, "Radio Mantiquera Sintonizada");
  56. GameTextForPlayer(playerid,"~w~Radio Mantiquera Sintonizada",5000,3);
  57. PlayAudioStreamForPlayer(playerid, "http://184.154.37.136:8081/");
  58. return 1;
  59. }
  60. //Click Mix
  61. if(listitem == 5)
  62. {
  63. SendClientMessage(playerid, AMARELO_FFC, "Radio Click mix Sintonizada");
  64. GameTextForPlayer(playerid,"~w~Radio Click Mix Sintonizada",5000,3);
  65. PlayAudioStreamForPlayer(playerid, "http://50.30.33.114:9998");
  66. return 1;
  67. }
  68. //Web Radio Virtual Dj
  69. if(listitem == 6)
  70. {
  71. SendClientMessage(playerid, AMARELO_FFC, "Radio Virtual Dj Sintonizada");
  72. GameTextForPlayer(playerid,"~w~Radio Virtual Dj Sintonizada",5000,3);
  73. PlayAudioStreamForPlayer(playerid, "http://173.212.197.233:7800");
  74. return 1;
  75. }
  76. //Radio Vto Mix
  77. if(listitem == 7)
  78. {
  79. SendClientMessage(playerid, AMARELO_FFC, "Radio Vto Mix Sintonizada");
  80. GameTextForPlayer(playerid,"~w~Radio Vto Mix Sintonizada",5000,3);
  81. PlayAudioStreamForPlayer(playerid, "http://s3.voscast.com:7554/");
  82. return 1;
  83. }
  84. //Radio Team Expert
  85. if(listitem == 8)
  86. {
  87. SendClientMessage(playerid, AMARELO_FFC, "Radio Team Expert Sintonizada");
  88. GameTextForPlayer(playerid,"~w~Radio Team Expert Sintonizada",5000,3);
  89. PlayAudioStreamForPlayer(playerid, "http://64.31.30.91:9980");
  90. return 1;
  91. }
  92. //Radio Relax
  93. if(listitem == 9)
  94. {
  95. SendClientMessage(playerid, AMARELO_FFC, "Radio Relax Sintonizada");
  96. GameTextForPlayer(playerid,"~w~Radio Relax Sintonizada",5000,3);
  97. PlayAudioStreamForPlayer(playerid, "http://streaming18.brlogic.com:8204/live");
  98. return 1;
  99. }
  100. //Radio Novo Milenio
  101. if(listitem == 10)
  102. {
  103. SendClientMessage(playerid, AMARELO_FFC, "Radio Novo Milenio Sintonizada");
  104. GameTextForPlayer(playerid,"~w~Radio Novo Milenio Sintonizada",5000,3);
  105. PlayAudioStreamForPlayer(playerid, "http://174.142.79.66:8110");
  106. return 1;
  107. }
  108. if(listitem == 11)
  109. {
  110. GameTextForPlayer(playerid,"~w~Radio Desligada Com Sucesso!",5000,3);
  111. StopAudioStreamForPlayer(playerid);
  112. return 1;
  113. }
  114. return 1;
  115. }
  116. return 1;
  117. }
  118. return 1;
  119. }
  120.  
  121.  
  122.  
  123. public OnPlayerCommandText(playerid, cmdtext[])
  124. {
  125. if(strcmp(cmdtext,"/radio",true) == 0)
  126. {
  127. ShowPlayerDialog(playerid, Radios, DIALOG_STYLE_LIST,
  128. "Web Radios By:[FFC]Twister",
  129. "{ADFF2F} Stronda \n{CAE1FF}Nova Web\n{7B68EE}Radio FFC\nRadio Extremo Mix\n{912CEE}Radio Mantiquera\n{CD5C5C}Click Mix\nWeb Radio Virtual Dj\n{F900E0}Radio Vto Mix\nRadio Team Expert\nWeb Radio Relax\nRadio Novo Milenio\n{FFFFFF}Desligar Radio",
  130. "Sintonizar", "Nao Sintoniza");
  131. return 1;
  132. }
  133. return false;
  134. }
  135. //sitema de Web Radio Samp 3D By:[FFC]Twister
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement