Don't like ads? PRO users don't see any ads ;-)
Guest

Ipod/Radio

By: a guest on Jun 20th, 2012  |  syntax: JavaScript  |  size: 13.75 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #define COLOR_LIGHTBLUE 0x33CCFFAA
  2. #define COLOR_ALLDEPT 0xFF8282AA
  3.  
  4.  
  5. //////////////////////////////////////////////////////////////////////////////////////////////////////////////
  6.  
  7.         if(strcmp(cmd, "/VRadio", true) == 0)
  8.         {
  9.             if(IsPlayerConnected(playerid))
  10.             {
  11.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  12.                         {
  13.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  14.                             return 1;
  15.                         }
  16.             SendClientMessage(playerid, LIGHTBLUE, "Palite radio.");
  17.             SendClientMessage(playerid, LIGHTBLUE, "Za koristenje radia kucajte /VRadio(1-7)");
  18.             SendClientMessage(playerid, LIGHTBLUE, "Za listu pjesama upisite /VRlista");
  19.             SendClientMessage(playerid, LIGHTBLUE, "Da ugasite radio kucajte /VRgasi");
  20.                 }
  21.                 return 1;
  22.         }
  23.    //Pocetak stanica
  24.  
  25.         if(strcmp(cmd, "/VRadio1", true) == 0)
  26.         {
  27.             if(IsPlayerConnected(playerid))
  28.             {
  29.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  30.                         {
  31.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  32.                             return 1;
  33.                         }
  34.             PlayAudioStreamForPlayer(playerid, "http://89.149.245.237:80");
  35.             SendClientMessage(playerid, LIGHTBLUE, "Slusate Radio Pink");
  36.             GameTextForPlayer(playerid, "~b~Slusate Radio Pink", 3000, 3);
  37.  
  38.                 }
  39.                 return 1;
  40.         }
  41.         //
  42.                 if(strcmp(cmd, "/VRadio2", true) == 0)
  43.         {
  44.             if(IsPlayerConnected(playerid))
  45.             {
  46.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  47.                         {
  48.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  49.                             return 1;
  50.                         }
  51.             PlayAudioStreamForPlayer(playerid, "http://89.205.127.244:8002");
  52.             SendClientMessage(playerid, LIGHTBLUE, "Slusate Folk Radio");
  53.             GameTextForPlayer(playerid, "~b~Slusate Folk Radio", 3000, 3);
  54.  
  55.                 }
  56.                 return 1;
  57.         }
  58.         //
  59.                 if(strcmp(cmd, "/VRadio3", true) == 0)
  60.         {
  61.             if(IsPlayerConnected(playerid))
  62.             {
  63.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  64.                         {
  65.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  66.                             return 1;
  67.                         }
  68.             PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:9000");
  69.             SendClientMessage(playerid, LIGHTBLUE, "Slusate TDI Radio");
  70.             GameTextForPlayer(playerid, "~b~Slusate TDI Radio", 3000, 3);
  71.  
  72.                 }
  73.                 return 1;
  74.         }
  75.         //
  76.                 if(strcmp(cmd, "/VRadio4", true) == 0)
  77.         {
  78.             if(IsPlayerConnected(playerid))
  79.             {
  80.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  81.                         {
  82.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  83.                             return 1;
  84.                         }
  85.             PlayAudioStreamForPlayer(playerid, "http://78.129.199.49:12100");
  86.             SendClientMessage(playerid, LIGHTBLUE, "Slusate Morava Radio");
  87.             GameTextForPlayer(playerid, "~b~Slusate Morava Radio", 3000, 3);
  88.  
  89.                 }
  90.                 return 1;
  91.         }
  92.         //
  93.                 if(strcmp(cmd, "/VRadio5", true) == 0)
  94.         {
  95.             if(IsPlayerConnected(playerid))
  96.             {
  97.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  98.                         {
  99.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  100.                             return 1;
  101.                         }
  102.             PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1280356");
  103.             SendClientMessage(playerid, LIGHTBLUE, "Slusate The Hitz Radio");
  104.             GameTextForPlayer(playerid, "~b~Slusate The Hitz Radio", 3000, 3);
  105.  
  106.                 }
  107.                 return 1;
  108.         }
  109.         //
  110.                 if(strcmp(cmd, "/VRadio6", true) == 0)
  111.         {
  112.             if(IsPlayerConnected(playerid))
  113.             {
  114.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  115.                         {
  116.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  117.                             return 1;
  118.                         }
  119.             PlayAudioStreamForPlayer(playerid, "http://scfire-ntc-aa04.stream.aol.com:80/stream/1071");
  120.             SendClientMessage(playerid, LIGHTBLUE, "Slusate HOT 108 JAMZ");
  121.             GameTextForPlayer(playerid, "~b~Slusate HOT 108 JAMZ", 3000, 3);
  122.  
  123.                 }
  124.                 return 1;
  125.         }
  126.         //
  127.        
  128.                 if(strcmp(cmd, "/VRadio7", true) == 0)
  129.         {
  130.             if(IsPlayerConnected(playerid))
  131.             {
  132.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  133.                         {
  134.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  135.                             return 1;
  136.                         }
  137.             PlayAudioStreamForPlayer(playerid, "http://188.138.117.16:7000");
  138.             SendClientMessage(playerid, LIGHTBLUE, "Slusate Radio Paris");
  139.             GameTextForPlayer(playerid, "~b~Slusate Radio Paris", 3000, 3);
  140.  
  141.                 }
  142.                 return 1;
  143.         }
  144.         //
  145.                 if(strcmp(cmd, "/VRadio8", true) == 0)
  146.         {
  147.             if(IsPlayerConnected(playerid))
  148.             {
  149.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  150.                         {
  151.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  152.                             return 1;
  153.                         }
  154.             PlayAudioStreamForPlayer(playerid, "http://balkan.dj.topstream.net:8070");
  155.             SendClientMessage(playerid, LIGHTBLUE, "Slusate Balkan DJ");
  156.             GameTextForPlayer(playerid, "~b~Slusate Balkan DJ", 3000, 3);
  157.  
  158.                 }
  159.                 return 1;
  160.         }
  161.  
  162.        
  163.    //Kraj radia
  164.    
  165.                 if(strcmp(cmd, "/VRlista", true) == 0)
  166.         {
  167.             if(IsPlayerConnected(playerid))
  168.             {
  169.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  170.                         {
  171.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  172.                             return 1;
  173.                         }
  174.             SendClientMessage(playerid, LIGHTBLUE, "1.-Radio Pink");
  175.             SendClientMessage(playerid, LIGHTBLUE, "2.-Folk Radio");
  176.             SendClientMessage(playerid, LIGHTBLUE, "3.-TDI Radio");
  177.             SendClientMessage(playerid, LIGHTBLUE, "4.-Morava Radio");
  178.             SendClientMessage(playerid, LIGHTBLUE, "5.-The Hitz Radio");
  179.             SendClientMessage(playerid, LIGHTBLUE, "6.-HOT 108 JAMZ");
  180.             SendClientMessage(playerid, LIGHTBLUE, "7.-Radio Paris");
  181.             SendClientMessage(playerid, LIGHTBLUE, "8.-Balkan DJ");
  182.                 }
  183.                 return 1;
  184.         }
  185.    
  186.    //
  187.    
  188.         // Lista pjesama
  189.  
  190.                         if(strcmp(cmd, "/Ipodlp", true) == 0)
  191.         {
  192.             if(IsPlayerConnected(playerid))
  193.             {
  194.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  195.                         {
  196.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  197.                             return 1;
  198.                         }
  199.             SendClientMessage(playerid, LIGHTBLUE, "1.-Green Day-Holiday");
  200.             SendClientMessage(playerid, LIGHTBLUE, "2.-Chingy-I do");
  201.             SendClientMessage(playerid, LIGHTBLUE, "3.-Flo Rida-Good Feeling");
  202.             SendClientMessage(playerid, LIGHTBLUE, "4.-David Guetta-Love is gone");
  203.             SendClientMessage(playerid, LIGHTBLUE, "5.-Maroon-Moves like jagger");
  204.             SendClientMessage(playerid, LIGHTBLUE, "6.-Beogradski sindikat - Balada");
  205.             SendClientMessage(playerid, LIGHTBLUE, "7.-Pit-Bul i Chris Brown-International love");
  206.             SendClientMessage(playerid, LIGHTBLUE, "8.-Lil Wayne i Bruno Mars-Mirror");
  207.             SendClientMessage(playerid, LIGHTBLUE, "9.-Ca$h-Cashing out");
  208.             SendClientMessage(playerid, LIGHTBLUE, "10.-Jay Z-Niggas in Parris");
  209.             SendClientMessage(playerid, LIGHTBLUE, "11.-Nelly-Ride with me");
  210.   }
  211.                 return 1;
  212.         }
  213.  
  214.         // Paljenje Ipoda
  215.  
  216.                 if(strcmp(cmd, "/Ipod", true) == 0)
  217.         {
  218.             if(IsPlayerConnected(playerid))
  219.             {
  220.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  221.                         {
  222.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  223.                             return 1;
  224.                         }
  225.             SendClientMessage(playerid, LIGHTBLUE, "Upalili ste listu pjesama na vasem Ipodu.");
  226.             SendClientMessage(playerid, LIGHTBLUE, "Da vidite listu pjesama kucajte /Ipodlp");
  227.             SendClientMessage(playerid, LIGHTBLUE, "Da bi pjesma pocela morate upisati /Ipod(1-11)");
  228.                 }
  229.                 return 1;
  230.         }
  231.  
  232.         // Pocetak pjesama
  233.             if(strcmp(cmd, "/Ipod1", true) == 0)
  234.         {
  235.             if(IsPlayerConnected(playerid))
  236.             {
  237.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  238.                         {
  239.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  240.                             return 1;
  241.                         }
  242.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/p3d4yvs682/holiday_by_green_day.mp3");
  243.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Green Day-Holiday");
  244.  
  245.                 }
  246.                 return 1;
  247.         }
  248.         //
  249.             if(strcmp(cmd, "/Ipod2", true) == 0)
  250.         {
  251.             if(IsPlayerConnected(playerid))
  252.             {
  253.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  254.                         {
  255.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  256.                             return 1;
  257.                         }
  258.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/p5e7q7sz34/chingy_i_do.mp3");
  259.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Chingy-I do");
  260.  
  261.                 }
  262.                 return 1;
  263.         }
  264.         //
  265.             if(strcmp(cmd, "/Ipod3", true) == 0)
  266.         {
  267.             if(IsPlayerConnected(playerid))
  268.             {
  269.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  270.                         {
  271.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  272.                             return 1;
  273.                         }
  274.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/6i347r8ybh/flo_rida_good_feeling_official_video.mp3");
  275.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Flo Rida-Good Feeling");
  276.  
  277.                 }
  278.                 return 1;
  279.         }
  280.         //
  281.             if(strcmp(cmd, "/Ipod4", true) == 0)
  282.         {
  283.             if(IsPlayerConnected(playerid))
  284.             {
  285.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  286.                         {
  287.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  288.                             return 1;
  289.                         }
  290.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/oqpy38qg7e/david_guetta_love_is_gone_lyrics.m4a");
  291.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira David Guetta-Love is gone");
  292.  
  293.                 }
  294.                 return 1;
  295.         }
  296.         //
  297.                     if(strcmp(cmd, "/Ipod5", true) == 0)
  298.         {
  299.             if(IsPlayerConnected(playerid))
  300.             {
  301.                         if(PlayerInfo[playerid][pDonateRank] == 0)
  302.                         {
  303.                             SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  304.                             return 1;
  305.                         }
  306.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/zxmhhui3f5/moves_like_jagger_maroon_5_featuring_christina_aguilera.mp3");
  307.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Maroon 5-Moves like jagger");
  308.  
  309.                 }
  310.                 return 1;
  311.  }
  312.         if(strcmp(cmd, "/Ipod6", true) == 0)
  313.  {
  314.      if(IsPlayerConnected(playerid))
  315.      {
  316.    if(PlayerInfo[playerid][pDonateRank] == 0)
  317.    {
  318.        SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  319.        return 1;
  320.    }
  321.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/6a27q74rb4/beogradski_sindikat_balada_disidenta_lyrics.mp3");
  322.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Beogradski sindikat-Balada disidenta");
  323.  
  324.   }
  325.   return 1;
  326.  }
  327.         if(strcmp(cmd, "/Ipod7", true) == 0)
  328.  {
  329.      if(IsPlayerConnected(playerid))
  330.      {
  331.    if(PlayerInfo[playerid][pDonateRank] == 0)
  332.    {
  333.        SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  334.        return 1;
  335.    }
  336.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/c1p72018rm/pitbull_feat_chris_brown_international_love.mp3");
  337.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Pit-Bul i Chris Brown-International love");
  338.  
  339.   }
  340.   return 1;
  341.  }
  342.         if(strcmp(cmd, "/Ipod8", true) == 0)
  343.  {
  344.      if(IsPlayerConnected(playerid))
  345.      {
  346.    if(PlayerInfo[playerid][pDonateRank] == 0)
  347.    {
  348.        SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  349.        return 1;
  350.    }
  351.             PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/x13o0n4r66/mirror_lil_wayne_ft_bruno_mars_lyrics.mp3");
  352.             SendClientMessage(playerid, LIGHTBLUE, "Sada svira Lil Wayne i Bruno Mars-Mirror");
  353.  
  354.   }
  355.   return 1;
  356.  }
  357.         if(strcmp(cmd, "/Ipod9", true) == 0)
  358.   {
  359.    if(IsPlayerConnected(playerid))
  360.   {
  361.    if(PlayerInfo[playerid][pDonateRank] == 0)
  362.   {
  363.   SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  364.   return 1;
  365.   }
  366.   PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/1241nniowa/cash_out_cashin_out_prod_by_spinz_dirty_promokingz.mp3");
  367.   SendClientMessage(playerid, LIGHTBLUE, "Sada svira Ca$h-Cashing out");
  368.  
  369.    }
  370.   return 1;
  371.   }
  372. //
  373.         if(strcmp(cmd, "/Ipod10", true) == 0)
  374.   {
  375.    if(IsPlayerConnected(playerid))
  376.   {
  377.    if(PlayerInfo[playerid][pDonateRank] == 0)
  378.   {
  379.   SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  380.   return 1;
  381.   }
  382.   PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/e45t2ekno9/jay_z_kanye_west_ft_t_i_niggas_in_paris_remix.mp3");
  383.   SendClientMessage(playerid, LIGHTBLUE, "Sada svira Jay-Z Niggas in Pariz");
  384.  
  385.    }
  386.   return 1;
  387.   }
  388. //
  389.         if(strcmp(cmd, "/Ipod11", true) == 0)
  390.   {
  391.    if(IsPlayerConnected(playerid))
  392.   {
  393.    if(PlayerInfo[playerid][pDonateRank] == 0)
  394.   {
  395.   SendClientMessage(playerid, COLOR_ALLDEPT, "Morate biti barem Bronzani VIP da biste imali ovu funkciju.");
  396.   return 1;
  397.   }
  398.   PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/f1vsm0n43q/nelly_ride_with_me.mp3");
  399.   SendClientMessage(playerid, LIGHTBLUE, "Sada svira Nelly-Ride with me");
  400.  
  401.    }
  402.   return 1;
  403.   }
  404. //
  405.  
  406.    
  407.  
  408. //////////////////////////////////////////////////////////////////////////////////////////////////////////////