[Hilfee]Fraksystem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • wie seh ich welche Frakfahrzeuge zu dieser Frak gehören musss ich immer ingame gehen und kucken obs geht?


    und bei den Toren ist es das selbe..


    ps: ein problem habe ich übrigens auch ich habe das Lspd tor erstellt und wenn ich ingame gehe ist es schon unten kann es nicht hochgeben und nicht runter??

  • eben nicht wenn ich befehl weggebe ist das tor hoch

    Verstehe Ich nicht aber naja, gib uns mal par zeilen =)


    Zu deinem LSPD Tor dann hast du halt die Kords schon davor umgesetzt ....



    Und zu den Frakcars wie meinst du das den????


    Du Erstellst die doch Oo


    Falsche Freunde: Fragen nach Kippen !
    Wahre Freunde: Sind der Grund, warum du keine Kippen hast !
    Falsche Freunde: Nennen deine Eltern Frau/Herr !
    Wahre Freunde: Nennen deine Eltern Mom/Dad !
    Falsche Freunde: Holen dich aus dem Knast und sagen dir, was getan hast, war falsch !
    Wahre Freunde: Sitzen in der Zelle neben dir und sagen: Scheiße...wir haben‘s verkackt...war aber verdammt lustig ! :P
    Falsche Freunde: Haben dich noch nie weinen sehen !
    Wahre Freunde: Weinen mit dir !
    Falsche Freunde: Werden dich stehen lassen, wenn die Menge das tut !
    Wahre Freunde: Werden der kompletten Menge den Arsch treten, die dich stehen gelassen hat ! c:
    Falsche Freunde: Bleiben für ne Weile !
    Wahre Freunde: Bleiben ein Leben lang !
    Falsche Freunde: Werden die Person, die Scheiße über dich erzählt, blöd vollabern !
    Wahre Freunde: Werden sie einfach ausknocken !
    Falsche Freunde: Werden das hier ignorieren !
    Wahre Freunde: Es Kopieren !

  • Ich glaube du meinst (da du mit information sehr geizig bist) ,das du die Car ID's haben willst um warscheinlich das reingehen oder so für
    Spieler die nicht in der Fraktion sind zu blockieren.Richtig?
    Bei meinem Script woran ich gerade arbeite mache ich das einfach so:

    new Polizei_SEK_Auto[11]; //Der Define mit einem Index um darauf zuzugreifen


    ....


    //Spawnen dann so:
    Polizei_SEK_Auto[0] = AddStaticVehicle(432,2222.47,2459.89,-7.56,90*3,1,1); //Panzer


    //Die Fahrzeug ID für den Wagen ist dann in Polizei_SEK_Auto[0] gespeichert und du kannst darauf zugreifen ;)



    //EDIT hab was vergessen

  • ne nicht ganz hab das so gemeint das sind ein paar autos
    und wie weiß ich das das auto zur Fraktion Lspd gehört und nicht Army




    PHP
    AddStaticVehicleEx(487,2489.89990234,-1694.80004883,22.10000038,0.00000000,86,86,15); //Maverick	AddStaticVehicleEx(402,2512.69995117,-1678.69995117,13.50000000,59.99633789,86,1,15); //Buffalo	AddStaticVehicleEx(402,2514.80004883,-1673.90002441,13.60000038,62.00000000,86,1,15); //Buffalo	lspdcar[0]=AddStaticVehicleEx(596,1564.09997559,-1606.59997559,13.19999981,177.99951172,-1,-1,15); //Police Car (LSPD)	lspdcar[1]=AddStaticVehicleEx(523,1569.59997559,-1606.40002441,13.00000000,177.99499512,-1,-1,15); //HPV1000	lspdcar[2]=AddStaticVehicleEx(596,1600.30004883,-1683.80004883,5.69999981,90.00000000,-1,-1,15); //Police Car (LSPD)	lspdcar[3]=AddStaticVehicleEx(596,1600.09997559,-1688.00000000,5.69999981,90.00000000,-1,-1,15); //Police Car (LSPD)	AddStaticVehicleEx(416,1136.00000000,-1339.30004883,14.00000000,0.00000000,1,3,15); //Ambulance	AddStaticVehicleEx(416,1111.69995117,-1327.40002441,13.69999981,0.00000000,-1,-1,15); //Ambulance	AddStaticVehicleEx(416,1097.50000000,-1326.39941406,13.80000019,0.00000000,-1,-1,15); //Ambulance	AddStaticVehicleEx(416,1179.00000000,-1338.59960938,14.19999981,267.99499512,-1,-1,15); //Ambulance	lspdcar[4]=AddStaticVehicleEx(416,1180.79980469,-1308.50000000,14.00000000,270.24499512,-1,-1,15); //Ambulance	lspdcar[5]=AddStaticVehicleEx(497,1561.90002441,-1643.69995117,28.70000076,88.00000000,-1,-1,15); //Police Maverick	lspdcar[6]=AddStaticVehicleEx(497,1563.09997559,-1657.50000000,28.70000076,87.99499512,-1,-1,15); //Police Maverick	lspdcar[7]=AddStaticVehicleEx(497,1565.00000000,-1691.19995117,28.70000076,87.99499512,-1,-1,15); //Police Maverick	lspdcar[8]=AddStaticVehicleEx(497,1564.40002441,-1704.00000000,28.70000076,87.99499512,-1,-1,15); //Police Maverick	lspdcar[9]=AddStaticVehicleEx(596,1600.00000000,-1696.19995117,5.69999981,90.00000000,-1,-1,15); //Police Car (LSPD)	lspdcar[10]=AddStaticVehicleEx(596,1600.00000000,-1692.09997559,5.69999981,90.00000000,-1,-1,15); //Police Car (LSPD)	lspdcar[11]=AddStaticVehicleEx(523,1579.90002441,-1710.50000000,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[12]=AddStaticVehicleEx(523,1578.59997559,-1710.69995117,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[13]=AddStaticVehicleEx(523,1577.19995117,-1711.00000000,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[14]=AddStaticVehicleEx(523,1575.80004883,-1711.09997559,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[15]=AddStaticVehicleEx(523,1574.40002441,-1711.30004883,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[16]=AddStaticVehicleEx(523,1572.90002441,-1711.19995117,5.59999990,0.00000000,-1,-1,15); //HPV1000	lspdcar[17]=AddStaticVehicleEx(427,1530.59960938,-1647.00000000,6.09999990,181.99951172,-1,1,15); //Enforcer	lspdcar[18]=AddStaticVehicleEx(427,1539.09997559,-1647.09997559,6.09999990,181.99951172,-1,1,15); //Enforcer	AddStaticVehicleEx(598,1543.50000000,-1684.40002441,5.80000019,89.99450684,-1,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,1543.59997559,-1671.90002441,5.80000019,89.99450684,-1,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,1543.40002441,-1676.19995117,5.80000019,89.99450684,-1,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,1543.50000000,-1680.09997559,5.80000019,89.99450684,-1,1,15); //Police Car (LVPD)	lspdcar[19]=AddStaticVehicleEx(528,1543.40002441,-1654.90002441,6.09999990,91.74951172,-1,-1,15); //FBI Truck	lspdcar[20]=AddStaticVehicleEx(490,1543.50000000,-1663.19995117,6.19999981,90.00000000,-1,1,15); //FBI Rancher	lspdcar[21]=AddStaticVehicleEx(490,174.69999695,130.00000000,525.09997559,0.00000000,-1,-1,15); //FBI Rancher	lspdcar[22]=AddStaticVehicleEx(490,1543.69995117,-1667.90002441,6.19999981,90.00000000,-1,1,15); //FBI Rancher	lspdcar[23]=AddStaticVehicleEx(541,1594.59997559,-1608.00000000,13.10000038,177.99499512,103,1,15); //Bullet	lspdcar[24]=AddStaticVehicleEx(541,1587.79980469,-1607.19921875,13.10000038,179.99450684,103,1,15); //Bullet	AddStaticVehicleEx(425,362.70001221,1980.90002441,21.39999962,90.00000000,-1,-1,15); //Hunter	AddStaticVehicleEx(425,363.00000000,1947.90002441,21.39999962,90.00000000,-1,-1,15); //Hunter	AddStaticVehicleEx(425,364.50000000,1915.69995117,21.29999924,90.00000000,-1,-1,15); //Hunter	AddStaticVehicleEx(470,202.00000000,1919.29980469,17.79999924,181.99951172,-1,-1,15); //Patriot	AddStaticVehicleEx(470,220.89999390,1919.30004883,17.79999924,181.99951172,-1,-1,15); //Patriot	AddStaticVehicleEx(599,1549.30004883,-1607.69995117,13.80000019,180.00000000,-1,-1,15); //Police Ranger	AddStaticVehicleEx(560,1082.90002441,1916.59997559,10.60000038,0.00000000,6,1,15); //Sultan	AddStaticVehicleEx(560,1076.59997559,1917.00000000,10.60000038,0.00000000,6,-1,15); //Sultan	AddStaticVehicleEx(482,1106.90002441,1926.19995117,11.10000038,90.00000000,6,1,15); //Burrito	AddStaticVehicleEx(487,1080.50000000,1904.50000000,16.79999924,0.00000000,6,6,15); //Maverick	AddStaticVehicleEx(487,1119.80004883,1924.00000000,16.79999924,89.99987793,6,6,15); //Maverick	AddStaticVehicleEx(513,1148.30004883,1903.30004883,11.60000038,139.99499512,6,6,15); //Stunt	AddStaticVehicleEx(420,1779.30004883,-1934.00000000,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(420,1779.19995117,-1928.30004883,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(420,1779.30004883,-1922.50000000,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(420,1779.50000000,-1916.59997559,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(420,1779.59997559,-1910.80004883,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(420,1779.30004883,-1904.40002441,13.19999981,267.99499512,6,6,15); //Taxi	AddStaticVehicleEx(438,1801.09997559,-1902.00000000,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(438,1801.50000000,-1907.30004883,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(438,1801.40002441,-1912.80004883,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(438,1801.30004883,-1920.00000000,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(438,1800.80004883,-1926.00000000,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(438,1800.69995117,-1931.69995117,13.60000038,91.99951172,6,1,15); //Cabbie	AddStaticVehicleEx(431,1776.40002441,-1898.50000000,13.60000038,267.99499512,6,6,15); //Bus	AddStaticVehicleEx(431,1776.50000000,-1892.30004883,13.60000038,269.99450684,6,6,15); //Bus	AddStaticVehicleEx(431,1777.50000000,-1886.40002441,13.60000038,267.99499512,6,6,15); //Bus	AddStaticVehicleEx(560,2506.10009766,-1651.19995117,13.39999962,129.99572754,86,1,15); //Sultan	AddStaticVehicleEx(560,2500.80004883,-1649.19995117,13.30000019,129.99572754,86,-1,15); //Sultan	AddStaticVehicleEx(596,1554.59960938,-1606.59960938,13.19999981,177.99499512,-1,-1,15); //Police Car (LSPD)	AddStaticVehicleEx(596,1559.30004883,-1606.90002441,13.19999981,177.99499512,-1,-1,15); //Police Car (LSPD)	AddStaticVehicleEx(599,1543.80004883,-1607.50000000,13.80000019,180.00000000,-1,-1,15); //Police Ranger	AddStaticVehicleEx(523,1575.30004883,-1606.40002441,13.00000000,177.99499512,-1,-1,15); //HPV1000	AddStaticVehicleEx(523,1582.00000000,-1606.09997559,13.00000000,177.99499512,-1,-1,15); //HPV1000	AddStaticVehicleEx(415,2515.10009766,-1663.40002441,13.60000038,96.00000000,86,1,15); //Cheetah	AddStaticVehicleEx(415,2515.29980469,-1669.09960938,13.50000000,73.99841309,86,1,15); //Cheetah	AddStaticVehicleEx(429,2508.30004883,-1685.80004883,13.30000019,30.00000000,86,86,15); //Banshee	AddStaticVehicleEx(482,1106.90002441,1920.09997559,11.10000038,90.00000000,6,1,15); //Burrito	AddStaticVehicleEx(415,1107.09997559,1911.40002441,10.69999981,90.00000000,6,1,15); //Cheetah	AddStaticVehicleEx(415,1106.80004883,1904.00000000,10.69999981,90.00000000,6,1,15); //Cheetah	AddStaticVehicleEx(451,1068.00000000,1917.09960938,10.60000038,0.00000000,6,1,15); //Turismo	AddStaticVehicleEx(429,1053.00000000,1917.40002441,10.60000038,0.00000000,6,6,15); //Banshee	AddStaticVehicleEx(429,1060.59960938,1917.00000000,10.60000038,0.00000000,6,6,15); //Banshee	AddStaticVehicleEx(522,1050.69995117,1935.30004883,10.50000000,258.00000000,6,1,15); //NRG-500	AddStaticVehicleEx(522,1050.50000000,1933.59960938,10.50000000,257.99743652,6,1,15); //NRG-500	AddStaticVehicleEx(522,2487.69995117,-1652.50000000,13.10000038,174.00000000,86,86,15); //NRG-500	AddStaticVehicleEx(522,2485.80004883,-1652.40002441,13.10000038,173.99597168,86,86,15); //NRG-500	AddStaticVehicleEx(487,2499.29980469,-1696.00000000,22.00000000,357.99499512,86,86,15); //Maverick	AddStaticVehicleEx(415,2661.30004883,-1066.00000000,69.19999695,105.99560547,103,1,15); //Cheetah	AddStaticVehicleEx(415,2669.30004883,-1065.50000000,69.19999695,107.99560547,103,1,15); //Cheetah	AddStaticVehicleEx(560,2685.19995117,-1066.19995117,68.90000153,121.99768066,103,1,15); //Sultan	AddStaticVehicleEx(560,2678.10009766,-1065.80004883,69.09999847,121.99768066,103,1,15); //Sultan	AddStaticVehicleEx(567,2688.19995117,-1077.90002441,69.30000305,69.99389648,103,1,15); //Savanna	AddStaticVehicleEx(567,2676.50000000,-1080.69995117,69.30000305,103.99658203,103,1,15); //Savanna	AddStaticVehicleEx(413,2664.29980469,-1092.29980469,69.59999847,61.99584961,103,1,15); //Pony	AddStaticVehicleEx(426,2666.69995117,-1078.59997559,69.30000305,76.00000000,103,1,15); //Premier	AddStaticVehicleEx(426,2658.39990234,-1079.50000000,69.40000153,105.99792480,103,1,15); //Premier	AddStaticVehicleEx(525,874.50000000,-1207.59997559,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(598,159.19999695,1908.90002441,18.60000038,0.00000000,113,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,165.10000610,1908.80004883,18.39999962,0.00000000,113,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,171.00000000,1908.80004883,18.20000076,0.00000000,113,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,176.89999390,1908.80004883,18.00000000,0.00000000,113,1,15); //Police Car (LVPD)	AddStaticVehicleEx(598,182.10000610,1908.90002441,17.79999924,0.00000000,113,1,15); //Police Car (LVPD)	AddStaticVehicleEx(470,211.50000000,1919.09997559,17.79999924,181.99951172,-1,-1,15); //Patriot	AddStaticVehicleEx(470,193.30000305,1919.00000000,17.79999924,181.99951172,-1,-1,15); //Patriot	AddStaticVehicleEx(560,163.00000000,1924.80004883,18.39999962,182.74902344,113,1,15); //Sultan	AddStaticVehicleEx(560,169.80000305,1925.40002441,18.10000038,179.49902344,113,1,15); //Sultan	AddStaticVehicleEx(560,175.30000305,1925.69995117,17.89999962,180.49902344,113,1,15); //Sultan	AddStaticVehicleEx(560,180.69999695,1925.69995117,17.79999924,177.99902344,113,1,15); //Sultan	AddStaticVehicleEx(560,185.80000305,1925.69995117,17.60000038,177.99902344,113,1,15); //Sultan	AddStaticVehicleEx(487,204.69921875,1929.50000000,23.50000000,177.99499512,55,55,15); //Maverick	AddStaticVehicleEx(487,216.79980469,1928.89941406,23.50000000,177.99499512,55,55,15); //Maverick	AddStaticVehicleEx(520,308.79998779,2048.30004883,18.60000038,176.49450684,-1,-1,15); //Hydra	AddStaticVehicleEx(433,206.00000000,1887.00000000,18.20000076,357.99499512,-1,-1,15); //Barracks	AddStaticVehicleEx(433,199.19999695,1887.80004883,18.20000076,357.99499512,-1,-1,15); //Barracks	AddStaticVehicleEx(433,221.60000610,1888.69995117,18.20000076,357.99499512,-1,-1,15); //Barracks	AddStaticVehicleEx(433,228.00000000,1887.90002441,18.20000076,357.99499512,-1,-1,15); //Barracks	AddStaticVehicleEx(548,244.19999695,1994.00000000,19.50000000,85.99548340,-1,-1,15); //Cargobob	AddStaticVehicleEx(548,216.60000610,1967.90002441,19.50000000,85.99548340,-1,-1,15); //Cargobob	AddStaticVehicleEx(487,193.19921875,1929.89941406,23.50000000,177.99499512,55,55,15); //Maverick	AddStaticVehicleEx(560,1570.19995117,-1709.50000000,5.69999981,0.00000000,55,55,15); //Sultan	AddStaticVehicleEx(560,1566.30004883,-1709.59997559,5.69999981,0.00000000,55,55,15); //Sultan	AddStaticVehicleEx(560,1562.59997559,-1709.19995117,5.69999981,0.00000000,55,55,15); //Sultan	AddStaticVehicleEx(560,1558.19995117,-1709.40002441,5.69999981,0.00000000,55,55,15); //Sultan	AddStaticVehicleEx(409,1257.40002441,-2010.30004883,59.40000153,179.99450684,1,1,15); //Stretch	AddStaticVehicleEx(409,1269.19995117,-2012.00000000,59.09999847,159.99444580,1,1,15); //Stretch	AddStaticVehicleEx(409,1263.00000000,-2010.40002441,59.29999924,179.99450684,1,1,15); //Stretch	AddStaticVehicleEx(560,1276.00000000,-2014.30004883,58.79999924,115.99896240,1,1,15); //Sultan	AddStaticVehicleEx(560,1276.59960938,-2034.39941406,58.79999924,85.99548340,1,1,15); //Sultan	AddStaticVehicleEx(560,1275.80004883,-2027.90002441,58.79999924,89.99902344,1,1,15); //Sultan	AddStaticVehicleEx(560,1275.50000000,-2021.40002441,58.79999924,91.99902344,1,1,15); //Sultan	AddStaticVehicleEx(560,1414.80004883,-2241.69995117,13.39999962,0.00000000,1,113,15); //Sultan	AddStaticVehicleEx(560,1407.90002441,-2241.39990234,13.39999962,0.00000000,1,1,15); //Sultan	AddStaticVehicleEx(560,1388.30004883,-2242.30004883,13.39999962,0.00000000,1,1,15); //Sultan	AddStaticVehicleEx(560,1401.59997559,-2242.89990234,13.39999962,0.00000000,1,1,15); //Sultan	AddStaticVehicleEx(560,1395.30004883,-2242.60009766,13.39999962,0.00000000,1,1,15); //Sultan	AddStaticVehicleEx(522,1413.69995117,-2260.80004883,13.19999981,0.00000000,1,1,15); //NRG-500	AddStaticVehicleEx(522,1410.40002441,-2260.89990234,13.19999981,0.00000000,1,1,15); //NRG-500	AddStaticVehicleEx(522,1407.50000000,-2261.00000000,13.19999981,0.00000000,1,1,15); //NRG-500	AddStaticVehicleEx(522,1404.00000000,-2260.80004883,13.19999981,0.00000000,1,1,15); //NRG-500	AddStaticVehicleEx(487,1363.50000000,-2243.69995117,20.70000076,270.00000000,1,1,15); //Maverick	AddStaticVehicleEx(487,1363.30004883,-2231.60009766,20.70000076,270.00000000,1,1,15); //Maverick	AddStaticVehicleEx(403,1381.19995117,-2217.80004883,14.19999981,271.99951172,1,1,15); //Linerunner	AddStaticVehicleEx(446,1238.19995117,-2523.89990234,0.00000000,97.74902344,1,1,15); //Squalo	AddStaticVehicleEx(525,869.50000000,-1207.90002441,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(525,865.59960938,-1208.00000000,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(525,892.70001221,-1207.19995117,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(525,898.70001221,-1207.30004883,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(525,904.79998779,-1207.19995117,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(525,910.09997559,-1206.90002441,17.00000000,180.00000000,3,3,15); //Tow Truck	AddStaticVehicleEx(532,-37.59999847,-19.20000076,4.19999981,60.00000000,-1,-1,15); //Combine	AddStaticVehicleEx(532,-42.50000000,-28.60000038,4.19999981,59.99633789,-1,-1,15); //Combine	AddStaticVehicleEx(532,-31.70000076,-8.00000000,4.19999981,59.99633789,-1,-1,15); //Combine	AddStaticVehicleEx(532,-23.89999962,43.29999924,4.19999981,159.99633789,-1,-1,15); //Combine	AddStaticVehicleEx(532,-28.50000000,74.19999695,4.19999981,67.99389648,-1,-1,15); //Combine	AddStaticVehicleEx(532,-32.40000153,63.09999847,4.19999981,67.98889160,-1,-1,15); //Combine	AddStaticVehicleEx(532,-54.90000153,81.09999847,4.19999981,247.98889160,-1,-1,15); //Combine	AddStaticVehicleEx(532,-75.29980469,53.09960938,4.19999981,165.98693848,-1,-1,15); //Combine	AddStaticVehicleEx(532,-58.90000153,-75.69999695,4.19999981,67.98693848,-1,-1,15); //Combine	AddStaticVehicleEx(532,-52.29999924,-60.59999847,4.19999981,67.98339844,-1,-1,15); //Combine	AddStaticVehicleEx(416,1124.00000000,-1327.39941406,13.69999981,0.00000000,1,3,15); //Ambulance	AddStaticVehicleEx(416,1147.90002441,-1311.80004883,14.00000000,0.00000000,1,3,15); //Ambulance	AddStaticVehicleEx(487,772.59997559,-1365.59997559,27.10000038,0.00000000,3,6,15); //Maverick	AddStaticVehicleEx(536,289.39999390,-1504.00000000,-16.39999962,0.00000000,-1,-1,15); //Blade	AddStaticVehicleEx(403,-48.79999924,-1135.90002441,1.79999995,62.00000000,99,66,15); //Linerunner	AddStaticVehicleEx(403,-69.90000153,-1122.69995117,1.79999995,157.99584961,99,66,15); //Linerunner	AddStaticVehicleEx(403,-54.79999924,-1147.80004883,1.79999995,61.99584961,99,66,15); //Linerunner	AddStaticVehicleEx(403,-51.89941406,-1141.29980469,1.79999995,61.99584961,99,66,15); //Linerunner	AddStaticVehicleEx(403,-75.00000000,-1120.30004883,1.79999995,157.99438477,99,66,15); //Linerunner	AddStaticVehicleEx(403,-79.59999847,-1118.50000000,1.79999995,157.99438477,99,66,15); //Linerunner	AddStaticVehicleEx(591,-74.80000305,-1107.80004883,1.70000005,153.99993896,-1,-1,15); //Trailer 3	AddStaticVehicleEx(591,-70.40000153,-1109.69995117,1.70000005,153.99536133,-1,-1,15); //Trailer 3	AddStaticVehicleEx(591,-65.19999695,-1111.50000000,1.70000005,153.99536133,-1,-1,15); //Trailer 3
  • So wie ich dir das gezeigt hatte.
    Machste halt für jede fraktion ne eingenen Array.


    Sonst weiß ich nich was du meinst...


    vlt hilft dir das aus meinem Script weiter:
    Habe PD mit der ID vom Police Deparment definiert...

    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    if(ispassenger==0)
    {
    new fID = pAccount[playerid][Fraktion]; //greife auf meinen enum zu
    new fRank = pAccount[playerid][Rank]; //sollte klar sein :DD


    if(vehicleid==Polizei_SEK_Auto[1] || vehicleid==Polizei_SEK_Auto[0]){
    if(fID==PD && fRank<4) return 1;
    TogglePlayerControllable(playerid, 1);
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,COLOR_RED,"Du bist kein GSG9 Beamter.(Cop Stufe 5)");
    }
    }


    return 1;
    }



    Und so kannste das halt rausfinden.GEht aber nur Auto Für Auto oder in einer For schleife.

  • sry aber ich komm nicht mit könntest du mir das nochmal erklären


    ps: hab so viele Autos das ich nicht weiß welches zu welcher Fraktion gehört muss aber noch alle machen bin gerade bei den Frakcars erstellen.
    und da muss ich ja wissen ob das Auto zum Lspd gehört oder zur Army . verstehst

  • Achsooooo,du hast keinen überblick über deinen Code mehr Sag das doch...ehm ja da kann dir nix außer ausprobieren helfen oder nochmal die cords loggen und dann sehen welche autos alles in der nähe sind ^^


    Dachte die ganze zeit du willst im Code auf die zugreifen..