Guest User

aaa

a guest
Apr 1st, 2016
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. if(dialogid == 170) {
  2. if(!response) return 1;
  3. new carid = GetPlayerVehicleID(playerid);
  4. PlayerRadio[playerid] = 1;
  5. switch(listitem) {
  6. case 0: {
  7. StopAudioStreamForPlayer(playerid);
  8. CarRadio[carid] = 0;
  9. SendClientMessage(playerid, COLOR_WHITE, "Ai oprit radio-ul.");
  10. }
  11. case 1: {
  12. PlayAudioStreamForPlayer(playerid, "http://live.radiotaraf.com:8181");
  13. new text[256];
  14. format(text, sizeof(text), "* %s asculta acum radio-ul Taraf Romania!", GetNameEx(playerid));
  15. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  16. CarRadio[carid] = 1;
  17. }
  18. case 2: {
  19. PlayAudioStreamForPlayer(playerid, "http://radiofunky.ro/live.pls");
  20. new text[256];
  21. format(text, sizeof(text), "* %s asculta acum radio-ul Funky Manele!", GetNameEx(playerid));
  22. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  23. CarRadio[carid] = 2;
  24. }
  25. case 3: {
  26. PlayAudioStreamForPlayer(playerid, "http://live.radiogangsta.ro:8800");
  27. new text[256];
  28. format(text, sizeof(text), "* %s asculta acum radio-ul Gangsta Manele!", GetNameEx(playerid));
  29. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  30. CarRadio[carid] = 3;
  31. }
  32. case 4: {
  33. PlayAudioStreamForPlayer(playerid, "http://dance.radiogangsta.ro:8800");
  34. new text[256];
  35. format(text, sizeof(text), "* %s asculta acum radio-ul Gangsta Dance!", GetNameEx(playerid));
  36. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  37. CarRadio[carid] = 4;
  38. }
  39. case 5: {
  40. PlayAudioStreamForPlayer(playerid, "http://rbandit.dyndns.tv:8000");
  41. new text[256];
  42. format(text, sizeof(text), "* %s asculta acum radio-ul Bandit Romania!", GetNameEx(playerid));
  43. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  44. CarRadio[carid] = 5;
  45. }
  46. case 6: {
  47. PlayAudioStreamForPlayer(playerid, "http://live.radiohot.ro:8000");
  48. new text[256];
  49. format(text, sizeof(text), "* %s asculta acum radio-ul Hot Romania!", GetNameEx(playerid));
  50. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  51. CarRadio[carid] = 6;
  52. }
  53. case 7: {
  54. PlayAudioStreamForPlayer(playerid, "http://www.radiotequila.ro/hiphop.m3u");
  55. new text[256];
  56. format(text, sizeof(text), "* %s asculta acum radio-ul Tequila HipHop!", GetNameEx(playerid));
  57. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  58. CarRadio[carid] = 7;
  59. }
  60. case 8: {
  61. PlayAudioStreamForPlayer(playerid, "http://80.86.106.136/listen.pls");
  62. new text[256];
  63. format(text, sizeof(text), "* %s asculta acum radio-ul Kiss FM!", GetNameEx(playerid));
  64. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  65. CarRadio[carid] = 8;
  66. }
  67. case 9: {
  68. PlayAudioStreamForPlayer(playerid, "http://stream.radiozu.ro:8020");
  69. new text[256];
  70. format(text, sizeof(text), "* %s asculta acum radio-ul ZU Romania!", GetNameEx(playerid));
  71. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  72. CarRadio[carid] = 9;
  73. }
  74. case 10: {
  75. PlayAudioStreamForPlayer(playerid, "http://nextgen.go.ro:8012");
  76. new text[256];
  77. format(text, sizeof(text), "* %s asculta acum radio-ul Greu de Difuzat!", GetNameEx(playerid));
  78. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  79. CarRadio[carid] = 10;
  80. }
  81. case 11: {
  82. PlayAudioStreamForPlayer(playerid, "http://stream.profm.ro:8012/profm.mp3");
  83. new text[256];
  84. format(text, sizeof(text), "* %s asculta acum radio-ul Pro FM!", GetNameEx(playerid));
  85. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  86. CarRadio[carid] = 11;
  87. }
  88. case 12: {
  89. PlayAudioStreamForPlayer(playerid, "http://live.radioclubmix.ro:9999");
  90. new text[256];
  91. format(text, sizeof(text), "* %s asculta acum radio-ul ClubMix!", GetNameEx(playerid));
  92. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  93. CarRadio[carid] = 12;
  94. }
  95. case 13: {
  96. PlayAudioStreamForPlayer(playerid, "http://livemp3.radiopopular.ro:7777");
  97. new text[256];
  98. format(text, sizeof(text), "* %s asculta acum radio-ul Popular!", GetNameEx(playerid));
  99. ProxDetector( 20.0, playerid, text, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE );
  100. CarRadio[carid] = 13;
  101. }
  102. }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment