daily pastebin goal
26%
SHARE
TWEET

EVO

a guest Jun 14th, 2018 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //////////////////////////////////////////////////////////
  2. YCMD:ubaci(playerid, params[],help)
  3. {
  4.     #pragma unused help
  5.     if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""SRWBOJA"[EG] "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
  6.     new para1,ftext[30];
  7.     if (PlayerInfo[playerid][pLider] < 1) return SendClientMessage(playerid, -1, ""CRVENA"[ERROR] "SIVA"Samo Lideri!");
  8.     if(sscanf(params, "u", para1)) return SendClientMessage(playerid, -1, ""SRWBOJA"EG Pomoc | "BELA"/ubaci [ID]");
  9.     if(!IsPlayerConnected(para1)) return SCM(playerid, -1, ""CRVENA"[ERROR] "SIVA"Taj igrac je offline!");
  10.     if(PlayerInfo[para1][pLevel] < 6) return SCM(playerid,-1,""CRVENA"[ERROR] "SIVA"Igrac mora biti minimum level 6!");
  11.     if(PlayerInfo[para1][pPozvan] > 0) return SendClientMessage(playerid, -1, ""CRVENA"[ERROR] "SIVA"Neko je vec pozvao tog igraca!");
  12.     if(PlayerInfo[para1][pOrgUgovor] != 0) return SCM(playerid,-1,""CRVENA"[ERROR] "SIVA"Igrac ima kaznu ulaska u org, sacekajte da mu istekne!");
  13.     if(para1 == playerid) return SCM(playerid,-1,""CRVENA"[ERROR] "SIVA"Ne mozete sebe pozvati!");
  14.     if (PlayerInfo[para1][pLider] > 0) return SendClientMessage(playerid, -1, ""CRVENA"[ERROR] "SIVA"Taj igrac je lider!");
  15.     //////////POLICIJA///////////
  16.     if (PlayerInfo[para1][pClan] == 0)
  17.     {
  18.         if(PlayerInfo[playerid][pLider] == 1)
  19.         {
  20.             ftext = "Policija";
  21.             PlayerInfo[para1][pPozvan] = 1;
  22.         }
  23.         ///////////////ITA MAFIA//////////////
  24.         else if(PlayerInfo[playerid][pLider] == 2)
  25.         {
  26.             ftext = "The Vinci Family";
  27.             PlayerInfo[para1][pPozvan] = 2;
  28.         }
  29.         ///////////////TRIADS///////////////////
  30.         else if(PlayerInfo[playerid][pLider] == 3)
  31.         {
  32.             ftext = "Black Dragon Triads";
  33.             PlayerInfo[para1][pPozvan] = 3;
  34.         }
  35.         /////////////GROVE///////////////////////
  36.         else if(PlayerInfo[playerid][pLider] == 4)
  37.         {
  38.             ftext = "Grove Street Family";
  39.             PlayerInfo[para1][pPozvan] = 4;
  40.         }
  41.         ////////////////////////////////////////
  42.         else if(PlayerInfo[playerid][pLider] == 5)
  43.         {
  44.             ftext = "Ballas";
  45.             PlayerInfo[para1][pPozvan] = 5;
  46.         }
  47.         ///////////////////////////////////////
  48.         else if(PlayerInfo[playerid][pLider] == 6)
  49.         {
  50.             ftext = "RTS";
  51.             PlayerInfo[para1][pPozvan] = 6;
  52.         }
  53.         /////////////Sheriff///////////////////
  54.         else if(PlayerInfo[playerid][pLider] == 7)
  55.         {
  56.             ftext = "Marshall";
  57.             PlayerInfo[para1][pPozvan] = 7;
  58.         }
  59.         ///////////////////////////////////////
  60.         else if(PlayerInfo[playerid][pLider] == 8)
  61.         {
  62.             ftext = "Parking Servis";
  63.             PlayerInfo[para1][pPozvan] = 8;
  64.         }
  65.         ///////////////////////////////////////
  66.         else if(PlayerInfo[playerid][pLider] == 9)
  67.         {
  68.             ftext = "Condor";
  69.             PlayerInfo[para1][pPozvan] = 9;
  70.         }
  71.         ///////////////////////////////////////
  72.         else if(PlayerInfo[playerid][pLider] == 10)
  73.         {
  74.             ftext = "Hitman";
  75.             PlayerInfo[para1][pPozvan] = 10;
  76.         }
  77.         ///////////////////////////////////////
  78.         else if(PlayerInfo[playerid][pLider] == 11)
  79.         {
  80.             ftext = "Blue Lagoon";
  81.             PlayerInfo[para1][pPozvan] = 11;
  82.         }
  83.         ///////////////////////////////////////
  84.         else if(PlayerInfo[playerid][pLider] == 12)
  85.         {
  86.             ftext = "The Blood Brothers";
  87.             PlayerInfo[para1][pPozvan] = 12;
  88.         }
  89.         ///////////////////////////////////////
  90.         else if(PlayerInfo[playerid][pLider] == 13)
  91.         {
  92.             ftext = "Da Naga Boys";
  93.             PlayerInfo[para1][pPozvan] = 13;
  94.         }
  95.         ///////////////////////////////////////
  96.         else if(PlayerInfo[playerid][pLider] == 14)
  97.         {
  98.             ftext = "Taxi";
  99.             PlayerInfo[para1][pPozvan] = 14;
  100.         }
  101.         ///////////////////////////////////////
  102.         else if(PlayerInfo[playerid][pLider] == 15)
  103.         {
  104.             ftext = "Yakuza";
  105.             PlayerInfo[para1][pPozvan] = 15;
  106.         }
  107.         ///////////////////////////////////////
  108.         else if(PlayerInfo[playerid][pLider] == 16)
  109.         {
  110.             ftext = "FBI";
  111.             PlayerInfo[para1][pPozvan] = 16;
  112.         }
  113.         ///////////////////////////////////////
  114.         else if(PlayerInfo[playerid][pLider] == 17)
  115.         {
  116.             ftext = "Black Cobra Corporation";
  117.             PlayerInfo[para1][pPozvan] = 17;
  118.         }
  119.         ///////////////////////////////////////
  120.         ///////////////////////////////////////
  121.         else if(PlayerInfo[playerid][pLider] == 18)
  122.         {
  123.             ftext = "Vatrogasci";
  124.             PlayerInfo[para1][pPozvan] = 18;
  125.         }
  126.         ///////////////////////////////////////
  127.         ///////////////////////////////////////
  128.         else if(PlayerInfo[playerid][pLider] == 19)
  129.         {
  130.             ftext = "DeathRow";
  131.             PlayerInfo[para1][pPozvan] = 19;
  132.         }
  133.         else if(PlayerInfo[playerid][pLider] == 20)
  134.         {
  135.             ftext = "Russian Mafia";
  136.             PlayerInfo[para1][pPozvan] = 20;
  137.         }
  138.         ///////////////////////////////////////
  139.         else
  140.         {
  141.             return 1;
  142.         }
  143.         SCMF(para1,-1,""CRVENA"INFO | "BELA"Lider "SPLAVA"%s "BELA"te je pozvao da se pridruzis organizaciji "SPLAVA"%s!",GetName(playerid),ftext);
  144.         SCM(para1,-1,""CRVENA"INFO | "BELA"Da prihvatite poziv kucajte "SPLAVA"/prihvati poziv "CRVENA"| "BELA"Da odbijete kucajte "SPLAVA"/odbij poziv!");
  145.         SCMF(playerid,-1,""CRVENA"[INFO] | "BELA"Pozvali ste "SPLAVA"%s "BELA"da se pridruzi vasoj organizaciji.",GetName(para1));
  146.     }
  147.     else
  148.     {
  149.         SCM(playerid, -1, ""CRVENA"[ERROR] "BELA"Taj igrac je vec u nekoj "CRVENA"organizaciji!");
  150.         return 1;
  151.     }
  152.     return 1;
  153. }
  154. //////////////////////////////////////////////////////////
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top