[POMOC]Kapije

Započeo Belajac, April 06, 2012, 11:24:58 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Scripta koju koristim:CLRP
Opis problema:Rade samo kapije PD-a i LCN-a,zasto ne rade ostale kapije.
Deo skripte:
   
Citatif(!strcmp(cmdtext, "/gateopen", true) || !strcmp(cmdtext, "/otvorikapiju", true)) // By Ellis
   {
       if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3)
       {
           if (PlayerToPoint(15, playerid,1589.053344,-1638.123168,14.122960))
         {
               MoveDynamicObject(pdgate1,1599.053344,-1638.123168,14.122960, 0.8);
               SetTimer("GateClose", 12000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"Garaza je otvorena i zatvorice se za 7 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara garazu.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
               PlayerPlaySound(playerid, 1153, 1589.053344,-1638.123168,14.122960);
         }
         else if (PlayerToPoint(15, playerid,1544.700317,-1630.735717,13.096980))
         {
               DestroyDynamicObject( pdgate2 );
               pdgate3 = CreateDynamicObject(968,1544.700317,-1630.735717,12.924660,0.000000,0.000000,270.972869);
               SetTimer("GateClose5", 6000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"Kapija je otvorena i zatvorice se za 6 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else if (PlayerToPoint(15, playerid,1534.9020,-1451.5979,14.4882))
         {
               MoveDynamicObject(fbigate,1534.9020,-1451.5979,20.4882, 1.5);
               SetTimer("GateClose3", 7000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"FBI kapija je otvorena i zatvorice se za 7 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara FBI kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         //SFPD KAPIJA
         else if (PlayerToPoint(15, playerid,-1636.5587158203,688.26141357422,8.9608917236328))
         {
               MoveDynamicObject(sfpdgate,-1646.0587158203,688.26141357422,8.9608917236328, 1.5);
               MoveDynamicObject(sfpdgate1,-1617.5162353516,688.26141357422,8.9608917236328, 1.5);
               SetTimer("GateClose9", 7000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"SFPD kapija je otvorena i zatvorice se za 7 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara SFPD kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         //SFPD RAMPA 1
         else if (PlayerToPoint(15, playerid,-1572.2039794922,658.83715820313,6.8781242370605))
         {
               DestroyDynamicObject( sfpdrampa );
               sfpdrampa1 = CreateDynamicObject(968,-1572.2039794922,658.83715820313,6.8781242370605,0,0,90)
               SetTimer("GateClose10", 7000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"SFPD 1 rampa je otvorena i zatvorice se za 7 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara SFPD 1 rampu.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         //SFPD RAMPA 2
         else if (PlayerToPoint(15, playerid,-1701.4404296875,687.60888671875,24.632816314697))
         {
               DestroyDynamicObject( sfpdrampa2 );
               sfpdrampa3 = CreateDynamicObject(968,-1701.4404296875,687.60888671875,24.632816314697,0,0,90)
               SetTimer("GateClose11", 7000, 0);
               SendClientMessage(playerid, COLOR_BLUE,"SFPD 2 rampa je otvorena i zatvorice se za 7 sekundi.");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara SFPD 2 rampu.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
      {
          if (PlayerToPoint(15, playerid,1283.8721923828,-2056.623046875,57.79080581665))
          {
              MoveDynamicObject(lcngate, 1284.6973876958, -2056.69921875, 66.518, 1);
              SetTimer("GateClose6", 10000, 0);
              SendClientMessage(playerid, COLOR_BLUE,"LCN Kapija je otvorena i zatvorice se za 7 sekundi.");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "* %s uzima daljinski i otvara LCN kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          }
          else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
      {
          if (PlayerToPoint(15, playerid,1245.3275146484,-767.20440673828,93.842063903809))
          {
              MoveDynamicObject(yakuzagate,1245.3275146484,-767.20440673828,98.517349243164,1);
              SetTimer("GateClose7", 10000, 0);
              SendClientMessage(playerid, COLOR_BLUE,"Yakuza Kapija je otvorena i zatvorice se za 7 sekundi.");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "* %s uzima daljinski i otvara Yakuza kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          }
          else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
      {
          if (PlayerToPoint(15, playerid,-2127.4079589844,-80.801971435547,37.093704223633))
          {
              MoveDynamicObject(rusgate,-2127.4079589844,-80.801971435547,42.818748474121,1);
              SetTimer("rusgateclose", 10000, 0);
              SendClientMessage(playerid, COLOR_BLUE,"RM Kapija je otvorena i zatvorice se za 7 sekundi.");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "* %s uzima daljinski i otvara RM kapiju.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          }
          else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
       else return SendClientMessage(playerid, COLOR_GREY,"Nemate daljinski od kapije/rampe.");
       return 1;
   }

   if(!strcmp(cmdtext, "/tuningopen", true)) // by Ellis
   {
       if(PlayerInfo[playerid][pLeader] == 6)
       {
           if (PlayerToPoint(30, playerid,1042.2530,-1026.0344,32.1016))
         {
               MoveDynamicObject(tugate, 1049.2530,-1026.0344,31.1016, 3.5000);
               SendClientMessage(playerid, COLOR_BLUE,"Kapija Tuning Centra je otvorena");
               GetPlayerName(playerid, sendername, sizeof(sendername));
               format(string, sizeof(string), "* %s uzima daljinski i otvara kapiju tuning centra.", sendername);
               ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else return SendClientMessage(playerid, COLOR_GREY,"Nemate daljinski za otvaranje te kapije.");
      return 1;
   }
//---------------------------------------------------------------------------------//
   if (strcmp("/otvori", cmdtext, true, 10) == 0)
   {
      if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //
      {
          if (PlayerToPoint(30, playerid,1643.0035400391, -1714.6795654297, 20.349878311157) || PlayerToPoint(30, playerid,1643, -1714.87890625, 15.124843597412))
         {
              MoveDynamicObject(fbiograda,1642.9166259766, -1710.2252197266, 20.349878311157, 2.00);
              MoveDynamicObject(fbiograda2,1642.9548339844, -1710.2493896484, 15.124843597412, 2.00);
             SetTimer("fbizatvori", 5000, 0);
             SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
             GetPlayerName(playerid, sendername, sizeof(sendername));
             format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena..."); }
      }
      else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) //
      {
          if (PlayerToPoint(15, playerid,1286.30859375, -1651.779296875, 24.085830688477))
         {
                  MoveDynamicObject(swatgate,1286.30859375, -1651.779296875, 24.085830688477, 2.00);
              SetTimer("zatvori15", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) //
      {
          if (PlayerToPoint(15, playerid,786.47412109375, -1152.4315185547, 25.408121109009) || PlayerToPoint(15, playerid,661.58197021484, -1228.3306884766, 11.55816078186))
         {
               MoveDynamicObject(yakuzeograda,786.47412109375, -1152.4315185547, 19.833137512207, 2.00);
               MoveDynamicObject(yakuzeograda2,661.58197021484, -1228.3306884766, 11.55816078186, 2.00);
              SetTimer("yakuzezatvori", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pDonateRank] >= 1 && PlayerInfo[playerid][pDonateRank] < 4)  //
      {
          if (PlayerToPoint(15, playerid,1807.7900390625, -1347.927734375, 11.270219802856))
         {
               MoveDynamicObject(donatorkapija,1807.7900390625, -1347.927734375, 11.270219802856, 2.00);
              SetTimer("zatvori20", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
        {
           if (PlayerToPoint(15, playerid,937.84338378906, -1029.4639892578, 32.573127746582))
         {
                  MoveDynamicObject(vladagate,931.41900634766, -1029.4805908203, 32.573127746582, 2.00);
              SetTimer("zatvori24", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //
      {
          if (PlayerToPoint(15, playerid,2056.7548828125, -1281.6773681641, 24.659379959106))
         {
               MoveDynamicObject(hitmankapija,2056.7548828125, -1281.6773681641, 24.659379959106, 2.00);
              SetTimer("zatvori22", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //
      {
          if (PlayerToPoint(15, playerid,907.52239990234, -1655.9656982422, 14.24268245697))
         {
               MoveDynamicObject(taxikapija,907.52239990234, -1655.9656982422, 14.24268245697, 2.00);
              SetTimer("zatvori21", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
        else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) //
      {
          if (PlayerToPoint(15, playerid,2813.6196,-1578.5616,10.9295))
         {
               MoveDynamicObject(crkapija,2814.0146484375, -1577.8798828125, 7.0505781173706, 2.00);
              SetTimer("zatvori23", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else return SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) Nemate kljuc za ta vrata.");
      return 1;
   }
//---------------------------------------------------------------------------------//
   if (strcmp("/adminkapija", cmdtext, true, 10) == 0)
   {
      if(PlayerInfo[playerid][pAdmin] >= 1 && PlayerInfo[playerid][pAdmin] < 1339 || PlayerInfo[playerid][pGameSage] >= 1 && PlayerInfo[playerid][pGameSage] < 5) //
      {
          if (PlayerToPoint(15, playerid,511.64450073242, -2289.9396972656, -1.3408368825912))
         {
               MoveDynamicObject(admgate,511.64450073242, -2289.9396972656, -1.3408368825912, 2.00);
              SetTimer("zatvori18", 5000, 0);
              SendClientMessage(playerid, WHITE, "("COL_ORANGE"Kapija{FFFFFF}!) Otvorio si kapiju, "COL_ORANGE"automatski {FFFFFF}ce se zatvorit!");
              GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "%s uzima daljinski i otvara kapiju.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
         }
         else { SendClientMessage(playerid, COLOR_GREY,"Destinacija je previse udaljena."); }
      }
      else return SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) Nemate kljuc za ta vrata.");
      return 1;
   }

MOZDA VAM OVO POMOGNE
Citattaxilift = CreateDynamicObject(5856, 853.97814941406, -1655.6199951172, 12.535863876343, 0, 90, 180);
   hitmandizalo = CreateDynamicObject(5856, 2035.0977783203, -1279.1409912109, 20.214237213135, 0, 90, 0);
   donatordizalo = CreateDynamicObject(5302, 1747.7084960938, -1358.923828125, 14.750907897949, 0, 90, 90);
   pdlift = CreateDynamicObject(5422, 1552.1062011719, -1697.6116943359, 12.486669540405, 0, 90, 0);
   crlift = CreateDynamicObject(5856, 961.03338623047, -1521.1396484375, 12.494530677795, 0, 90, 90);
   survivorkapija = CreateDynamicObject(8229, -2152.2182617188, 3137.8479003906, 5.1646228790283, 0, 0, 0);//survivor
   zid1 = CreateDynamicObject(2963,1479.4013671875,-1688.6501464844,12,180,0,270);
   zid2 = CreateDynamicObject(2963,1477.2703857422,-1686.5227050781,12,180,0,180);
   zid3 = CreateDynamicObject(2963,1481.5152587891,-1686.482421875,12,180,0,0);
   zid4 = CreateDynamicObject(2963,1479.4110107422,-1684.3792724609,12,180,0,90);
   hell = CreateDynamicObject(3852, -2931.3127441406, 450.48751831055, 2.3407988548279, 0.000000, 0.000000, 89.684936523438);
   hell1 = CreateDynamicObject(3852, -2931.3447265625, 446.92239379883, 2.3407988548279, 0.000000, 0.000000, 89.681396484375);
   pdgate1 = CreateDynamicObject(971,1589.053344,-1638.123168,14.122960,0.000000,0.000000,180);
   pdgate2 = CreateDynamicObject(968,1544.700317,-1630.735717,13.096980,-1.000000,-91.000000,269.972869);
   tugate = CreateDynamicObject(971, 1049.2530,-1026.0344,31.1016,0, 0.0000, 0.0000);
   lspddoor1 = CreateDynamicObject(1500, 245.0578,72.4314,1002.5406,0, 0.0000, 0.0000);
   lspddoor2 = CreateDynamicObject(1500, 245.9478,72.4314,1002.5406,0, 0.0000, 0.0000);
   fbigate = CreateDynamicObject(980, 1534.9020,-1451.5979,14.4882,0, 0.0000, 0);
   lcngate = CreateDynamicObject(980, 1284.6973876958, -2056.69921875, 60.158, 0, 0, 90); //lcn kapija
   yakuzagate = CreateDynamicObject(980,1245.3275146484,-767.20440673828,93.842063903809,0,0,0);
   crossgate = CreateDynamicObject(991,-2397.919921875,-2192.8891601563,32.429298400879,0,0,0); //zatvoreno
   crossgate1 = CreateDynamicObject(994,-2376.8503417969,-2193.1882324219,32.291904449463,0,0,295.50512695313);//cross start kapija
   racegate = CreateDynamicObject(994,-1301.2603759766,-605.86346435547,13.1484375,0,0,90);//race start kapija lijeva
   racegate1 = CreateDynamicObject(994,-1301.2080078125,-598.81323242188,13.1484375,0,0,90);//race start kapija desna
   tracegate = CreateDynamicObject(982, 691.125, -3487.7810058594, 14.359846115112, 0, 0, 90);//race start kapija lijeva
   tracegate1 = CreateDynamicObject(982, 716.71813964844, -3487.7822265625, 14.359846115112, 0, 0, 90);//race start kapija desna
   racegate2 = CreateDynamicObject(991,-1266.6687011719,-566.58264160156,13.313694000244,0,0,0);//zatvorena
   swatdoor = CreateDynamicObject(3062,2748.0122070313,-2451.9243164063,14.059488105774,0,0,0);
   hell2 = CreateDynamicObject(980,-2937.3056640625,415.85479736328,1.9369312524796,0,0,14.890380859375);
   hell3 = CreateDynamicObject(980,-2951.8977050781,411.66275024414,1.9369312524796,0,0,16.8798828125);
   sfpdgate = CreateDynamicObject(980,-1636.5587158203,688.26141357422,8.9608917236328,0,0,180); //lijeva zatvorena
   sfpdgate1 = CreateDynamicObject(980,-1625.0284423828,688.26141357422,8.9608917236328,0,0,0);//desna zatvorena
   sfpdrampa = CreateDynamicObject(968,-1572.2039794922,658.83715820313,6.8781242370605,0,90,90);//sfpd rampa
   rusgate = CreateDynamicObject(980,-2127.4079589844,-80.801971435547,37.093704223633,0,0,0);
   sfpdrampa2 = CreateDynamicObject(968,-1701.4404296875,687.60888671875,24.632816314697,0,270,90);
   ruslift = CreateDynamicObject(3095,-2113.7294921875,-197.96894836426,34.545051574707,0,180,0);
   hitnapod = CreateDynamicObject(7922, 1174.3117675781, -1366.3216552734, 12.150856018066, 90, 0, 90);
   hitnaograda = CreateDynamicObject(997, 1172.4727783203, -1365.2312011719, 13.227673530579, 0, 0, 0);
   platforma1 = CreateDynamicObject(11326, -865.50744628906, 3604.4118652344, -1.4559230804443, 0.000000, 0.000000, 315);
   platforma2 = CreateDynamicObject(11326, -794.91754150391, 3591.0688476563, -1.4559230804443, 0.000000, 0.000000, 45);
   platforma3 = CreateDynamicObject(11326, -781.95355224609, 3661.9816894531, -1.4559230804443, 0.000000, 0.000000, 135);
   platforma4 = CreateDynamicObject(11326, -852.41290283203, 3674.810546875, -1.4559230804443, 0.000000, 0.000000, 225);
   glavna = CreateDynamicObject(975, 778.40863037109, -1330.5299072266, 14.223817825317, 0, 0, 358.99475097656);
   glavna3 = CreateDynamicObject(2949, 320.953125, 310.57080078125, 998.21704101563, 0, 0, 180);
   glavna4 = CreateDynamicObject(2949, 320.95770263672, 314.55169677734, 998.1484375, 0, 0, 179.99450683594);
   glavna6 = CreateDynamicObject(968, 1219.5535888672, -926.65600585938, 42.629467010498, 0, 270, 189.99755859375);
   glavna7 = CreateDynamicObject(968, 1219.2147216797, -926.703125, 42.63338470459, 0, 270, 10);
   glavna8 = CreateDynamicObject(968, 973.6083984375, -1107.3350830078, 23.65625, 0, 270, 270);
   glavna9 = CreateDynamicObject(968, 1610.0390625, 108.62429046631, 37.115467071533, 0, 90, 168);
   glavna10 = CreateDynamicObject(968, 1614.1353759766, 107.75646209717, 37.061702728271, 0, 90, 348);
   glavna11 = CreateDynamicObject(968, 2407.1389160156, -2016.0189208984, 13.296875, 0, 270, 270);
   glavna12 = CreateDynamicObject(968, 1623.958984375, -1883.4122314453, 13.296875, 0, 270, 0);
   glavna13 = CreateDynamicObject(968, 1001.3961791992, -1333.3618164063, 13.1328125, 0, 270, 0);
   swatgate = CreateDynamicObject(2990, 1286.3087158203, -1651.7800292969, 16.410856246948, 0, 0, 90);
   vladagate = CreateDynamicObject(975, 937.84338378906, -1029.4639892578, 32.573127746582, 0, 0, 180);
   donatorkapija = CreateDynamicObject(980, 1807.7900390625, -1347.927734375, 16.820199966431, 0, 0, 90);
   taxikapija = CreateDynamicObject(989, 907.47796630859, -1661.3974609375, 14.24268245697, 0, 0, 16.75);
   hitmankapija = CreateDynamicObject(986, 2056.7392578125, -1274.7036132813, 24.659379959106, 0, 0, 90);
   crkapija = CreateDynamicObject(980, 2814.0151367188, -1577.8807373047, 12.650581359863, 0, 0, 90);
   admgate = CreateDynamicObject(980, 511.64450073242, -2289.9396972656, 4.2591667175293, 0, 0, 0);
   fbiograda = CreateDynamicObject(988, 1643.0035400391, -1714.6795654297, 20.349878311157, 0, 0, 270);
   fbiograda2 = CreateDynamicObject(988, 1643, -1714.87890625, 15.124843597412, 0, 0, 270);
   yakuzeograda = CreateDynamicObject(980, 786.47412109375, -1152.4315185547, 25.408121109009, 0, 0, 90.25);
   yakuzeograda2 = CreateDynamicObject(980, 661.58197021484, -1228.3306884766, 16.808111190796, 0, 0, 61.747192382813);

Snich

Pokusaj da izbacis Dynamic, znaci na svim ovim kodovima stavis samo CreateObject

Citat: [FG] Snich poslato April 06, 2012, 13:30:54 POSLE PODNE
Pokusaj da izbacis Dynamic, znaci na svim ovim kodovima stavis samo CreateObject
Nemoze biti CreateObject, moze biti jedino MoveObject ili MoveDynamicObject
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati


I znaci ne mogu da resim problem sa kapijama.
Ne postoji nekakav nacin.
Poslednja Izmena: April 06, 2012, 19:56:57 POSLE PODNE od Belajac

Te 2 kapije se otvaraju sa /gateopen ostale su sa /otvori...


Village's Roleplay USKORO...

Village's Roleplay USKORO...

Tek sam provalio da je /otvori kada je [Pawno | MTA] Muhamed rekao Cuj ne moze?
Usao sam u igru i pisem /gateopen i /otvorikapiju i nece, ja iz nervoze napisem /otvori i uspelo je.
U SVAKOM SLUCAJU HVALA PUNO!!!