Problem mit Frakcars..

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
  • Moin Moin :D



    So habe ein kleines Problem bei den Frak Cars von mir..


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(lspdcar); i++)
    {
    if(GetPlayerVehicleID(playerid)==lspdcar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(fbicar); i++)
    {
    if(GetPlayerVehicleID(playerid)==fbicar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=2)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(armycar); i++)
    {
    if(GetPlayerVehicleID(playerid)==armycar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=3)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(sesecar); i++)
    {
    if(GetPlayerVehicleID(playerid)==sesecar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=4)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(oamtcar); i++)
    {
    if(GetPlayerVehicleID(playerid)==oamtcar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=5)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(newscar); i++)
    {
    if(GetPlayerVehicleID(playerid)==newscar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=6)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    if(newstate==PLAYER_STATE_DRIVER)
    {
    for(new i=0; i<sizeof(mafiacar); i++)
    {
    if(GetPlayerVehicleID(playerid)==mafiacar[i])
    {
    if(GetPVarInt(playerid,"Fraktion")!=7)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }
    return 1;
    }




    Das Problem ist Ich kann in Jedes fahrzeug rein.. obwohl ich LSPD oder Zivi bin das ist egal.. ich kann Trozdem überall in den fahrzeugen Rein ?.. Falls einer den Fehler weiß bitte Melden ^^




    MFG Equ

  • habs ma so angepasst wie es bei mir zb. klappt



    if(newstate==PLAYER_STATE_DRIVER)
    {
    new newcar = GetPlayerVehicleID(playerid);
    if(GetPVarInt(playerid,"Fraktion")!=1)
    {
    for(new i=0; i<sizeof(lspdcar); i++)
    {
    if(newcar == lspdcar[i])
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    if(GetPVarInt(playerid,"Fraktion")!=2)
    {
    for(new i=0; i<sizeof(fbicar); i++)
    {
    if(newcar==fbicar[i])
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid,ROT,"Nicht Für dich.");
    }
    }
    }
    }



    muste ma testen obs bei dir auch hinhaut

  • Geht immer noch nicht ?? Kann es was mit OnGameModeInit zutuhen haben ? Also habe die Cars mit CreateVehicle(NumberPlate .. usw gemacht


    Siehe:


    lspdcar[0]=SetVehicleNumberPlate(CreateVehicle(427,1565.8993,-1709.7181,6.0223,359.6048,0,1,0),"LSPD"); // car1
    lspdcar[1]=SetVehicleNumberPlate(CreateVehicle(427,1570.0365,-1709.4377,6.0474,0.2229,0,1,0),"LSPD"); // car2
    lspdcar[2]=SetVehicleNumberPlate(CreateVehicle(601,1574.4524,-1709.6788,5.6479,0.2452,1,0,0),"LSPD"); // car3
    lspdcar[3]=SetVehicleNumberPlate(CreateVehicle(528,1578.6454,-1711.0389,5.9421,359.5535,0,0,0),"LSPD"); // car4
    lspdcar[4]=SetVehicleNumberPlate(CreateVehicle(528,1583.2848,-1711.0452,5.9349,359.5773,0,1,0),"LSPD"); // car5
    lspdcar[5]=SetVehicleNumberPlate(CreateVehicle(596,1587.4769,-1711.2036,5.6064,359.6532,0,1,0),"LSPD"); // car6
    lspdcar[6]=SetVehicleNumberPlate(CreateVehicle(596,1591.3618,-1711.2212,5.6123,359.4503,0,1,0),"LSPD"); // car7
    lspdcar[7]=SetVehicleNumberPlate(CreateVehicle(596,1595.4194,-1711.2217,5.6105,0.8319,0,1,0),"LSPD"); // car8
    lspdcar[8]=SetVehicleNumberPlate(CreateVehicle(596,1601.9260,-1704.3228,5.6120,90.4531,0,1,0),"LSPD"); // car9
    lspdcar[9]=SetVehicleNumberPlate(CreateVehicle(596,1601.9878,-1700.2461,5.5460,90.2358,0,1,0),"LSPD"); // car10
    lspdcar[10]=SetVehicleNumberPlate(CreateVehicle(596,1602.0135,-1695.9644,5.6149,89.8869,0,1,0),"LSPD"); // car11
    lspdcar[11]=SetVehicleNumberPlate(CreateVehicle(596,1602.0349,-1692.0413,5.5429,89.5488,0,1,0),"LSPD"); // car12
    lspdcar[12]=SetVehicleNumberPlate(CreateVehicle(415,1602.1643,-1687.7747,5.6592,91.2638,1,1,0),"LSPD"); // car13
    lspdcar[13]=SetVehicleNumberPlate(CreateVehicle(415,1601.9705,-1683.8059,5.6622,92.0293,1,1,0),"LSPD"); // car14
    lspdcar[14]=SetVehicleNumberPlate(CreateVehicle(523,1586.9380,-1680.3591,5.4715,272.6439,1,1,0),"LSPD"); // car15
    lspdcar[15]=SetVehicleNumberPlate(CreateVehicle(523,1586.7604,-1677.7032,5.4669,271.0369,1,1,0),"LSPD"); // car16
    lspdcar[16]=SetVehicleNumberPlate(CreateVehicle(523,1586.8783,-1674.9243,5.4678,267.3329,1,1,0),"LSPD"); // car17
    lspdcar[17]=SetVehicleNumberPlate(CreateVehicle(523,1586.7949,-1671.3459,5.4640,269.8775,7,7,0),"LSPD"); // car18
    lspdcar[18]=SetVehicleNumberPlate(CreateVehicle(523,1586.6429,-1668.2734,5.4280,267.9073,7,7,0),"LSPD"); // car19
    lspdcar[19]=SetVehicleNumberPlate(CreateVehicle(599,1558.8453,-1694.8995,6.0828,178.4158,0,1,0),"LSPD"); // car 20
    lspdcar[20]=SetVehicleNumberPlate(CreateVehicle(599,1563.0809,-1694.9135,6.0812,180.2644,0,1,0),"LSPD"); // car 21

    // FBI-Cars Frakid 2
    fbicar[0]=SetVehicleNumberPlate(CreateVehicle(490,1130.6849,1091.8673,10.2889,125.9202,0,0,0),""); // fbicar1
    fbicar[1]=SetVehicleNumberPlate(CreateVehicle(490,1132.9985,1087.9683,10.2768,117.0685,0,0,0),""); // fbicar2
    fbicar[2]=SetVehicleNumberPlate(CreateVehicle(490,1134.9897,1082.8392,10.2778,103.7377,0,0,0),""); // fbicar3
    fbicar[3]=SetVehicleNumberPlate(CreateVehicle(490,1135.9312,1078.1664,10.2773,94.5708,0,0,0),""); // fbicar4
    fbicar[4]=SetVehicleNumberPlate(CreateVehicle(490,1135.3591,1072.6178,10.2646,82.3615,0,0,0),""); // fbicar5
    fbicar[5]=SetVehicleNumberPlate(CreateVehicle(490,1134.5724,1067.3179,10.2644,82.3548,0,0,0),""); // fbicar6
    fbicar[6]=SetVehicleNumberPlate(CreateVehicle(490,1133.9000,1062.3558,10.2770,80.0035,0,0,0),""); // fbicar7
    fbicar[7]=SetVehicleNumberPlate(CreateVehicle(528,1132.2765,1058.0865,10.2319,66.7927,0,0,0),""); // fbicar8
    fbicar[8]=SetVehicleNumberPlate(CreateVehicle(528,1130.0645,1054.7484,10.2243,65.9251,0,0,0),""); // fbicar9
    fbicar[9]=SetVehicleNumberPlate(CreateVehicle(411,1128.6403,1050.5856,9.9052,65.1628,0,0,0),""); // fbicar10
    fbicar[10]=SetVehicleNumberPlate(CreateVehicle(411,1126.8096,1046.9016,9.8699,64.3009,0,0,0),""); // fbicar11
    fbicar[11]=SetVehicleNumberPlate(CreateVehicle(522,1125.4310,1042.5836,9.7412,66.7919,0,0,0),""); // fbicar12
    fbicar[12]=SetVehicleNumberPlate(CreateVehicle(497,1018.8959,1023.5796,48.2552,313.5934,0,1,0),""); // fbicar13
    fbicar[13]=SetVehicleNumberPlate(CreateVehicle(497,1009.4386,1035.0422,48.3104,302.6054,0,1,0),""); // fbicar14
    fbicar[14]=SetVehicleNumberPlate(CreateVehicle(497,1005.1687,1044.3164,48.2562,295.8535,0,1,0),""); // fbicar15


    // Army Cars Frakid 3
    armycar[0]=SetVehicleNumberPlate(CreateVehicle(432,355.26920000,1904.71460000,17.65060000,91.11270000,27,27,0),"Army"); //Rhino
    armycar[1]=SetVehicleNumberPlate(CreateVehicle(432,353.41090000,1915.95180000,17.68550000,95.84860000,27,27,0),"Army"); //Rhino
    armycar[2]=SetVehicleNumberPlate(CreateVehicle(432,351.69480000,1926.84630000,17.68780000,92.23700000,27,27,0),"Army"); //Rhino
    armycar[3]=SetVehicleNumberPlate(CreateVehicle(432,349.79860000,1937.64920000,17.68910000,100.90440000,27,27,0),"Army"); //Rhino
    armycar[4]=SetVehicleNumberPlate(CreateVehicle(520,280.86130000,1956.37280000,18.31340000,271.20260000,27,27,0),"Army"); //Hydra
    armycar[5]=SetVehicleNumberPlate(CreateVehicle(520,280.04910000,1989.02170000,18.40820000,274.64900000,27,27,0),"Army"); //Hydra
    armycar[6]=SetVehicleNumberPlate(CreateVehicle(520,277.91750000,2023.51650000,18.38000000,269.04160000,27,27,0),"Army"); //Hydra
    armycar[7]=SetVehicleNumberPlate(CreateVehicle(470,236.25920000,1897.66300000,17.63100000,50.68360000,1,1,0),"Army"); //Patriot
    armycar[8]=SetVehicleNumberPlate(CreateVehicle(470,234.65420000,1892.82910000,17.63800000,49.88380000,1,1,0),"Army"); //Patriot
    armycar[9]=SetVehicleNumberPlate(CreateVehicle(470,233.95230000,1888.07700000,17.63450000,54.34650000,1,1,0),"Army"); //Patriot
    armycar[10]=SetVehicleNumberPlate(CreateVehicle(470,233.25120000,1883.97720000,17.65260000,56.59090000,1,1,0),"Army"); //Patriot
    armycar[11]=SetVehicleNumberPlate(CreateVehicle(470,232.01540000,1879.42140000,17.63580000,53.74460000,1,1,0),"Army"); //Patriot
    armycar[12]=SetVehicleNumberPlate(CreateVehicle(470,230.46140000,1874.20290000,17.63460000,53.69140000,1,1,0),"Army"); //Patriot
    armycar[13]=SetVehicleNumberPlate(CreateVehicle(597,193.16430000,1897.03600000,17.41220000,307.34950000,27,27,0),"Army"); //Police Car (SFPD)
    armycar[14]=SetVehicleNumberPlate(CreateVehicle(597,192.76090000,1891.23170000,17.41530000,307.33150000,27,27,0),"Army"); //Police Car (SFPD)
    armycar[15]=SetVehicleNumberPlate(CreateVehicle(597,192.70990000,1885.54990000,17.40780000,304.61040000,27,27,0),"Army"); //Police Car (SFPD)
    armycar[16]=SetVehicleNumberPlate(CreateVehicle(597,192.76520000,1880.15150000,17.40060000,304.90630000,27,27,0),"Army"); //Police Car (SFPD)
    armycar[17]=SetVehicleNumberPlate(CreateVehicle(597,192.54500000,1874.76090000,17.41130000,303.74940000,27,27,0),"Army"); //Police Car (SFPD)
    armycar[28]=SetVehicleNumberPlate(CreateVehicle(427,186.42860000,1927.32930000,17.87810000,180.34900000,27,27,0),"Army"); //Enforcer
    armycar[29]=SetVehicleNumberPlate(CreateVehicle(427,182.82520000,1927.49990000,18.02230000,181.34090000,27,27,0),"Army"); //Enforcer
    armycar[30]=SetVehicleNumberPlate(CreateVehicle(468,180.06280000,1925.61740000,17.65130000,176.83900000,27,27,0),"Army"); //Sanchez
    armycar[31]=SetVehicleNumberPlate(CreateVehicle(468,178.02740000,1925.62990000,17.69190000,180.15330000,27,27,0),"Army"); //Sanchez
    armycar[32]=SetVehicleNumberPlate(CreateVehicle(468,176.29210000,1925.72280000,17.78130000,181.66460000,27,27,0),"Army"); //Sanchez
    armycar[33]=SetVehicleNumberPlate(CreateVehicle(468,174.39000000,1925.65660000,17.84640000,181.41760000,27,27,0),"Army"); //Sanchez
    armycar[34]=SetVehicleNumberPlate(CreateVehicle(468,172.40560000,1925.92930000,17.91760000,183.60150000,27,27,0),"Army"); //Sanchez
    armycar[35]=SetVehicleNumberPlate(CreateVehicle(468,170.72680000,1925.79530000,17.97580000,186.08080000,27,27,0),"Army"); //Sanchez
    armycar[36]=SetVehicleNumberPlate(CreateVehicle(468,168.90570000,1925.71640000,18.03710000,178.60460000,27,27,0),"Army"); //Sanchez
    armycar[37]=SetVehicleNumberPlate(CreateVehicle(468,167.24420000,1925.86770000,18.09670000,181.97410000,27,27,0),"Army"); //Sanchez
    armycar[38]=SetVehicleNumberPlate(CreateVehicle(497,196.55340000,1931.37790000,23.42430000,180.54460000,27,27,0),"Army"); //Police Maverick
    armycar[39]=SetVehicleNumberPlate(CreateVehicle(497,208.64000000,1931.66050000,23.42870000,178.86610000,27,27,0),"Army"); //Police Maverick
    armycar[40]=SetVehicleNumberPlate(CreateVehicle(497,219.76930000,1931.56710000,23.41930000,180.45820000,27,27,0),"Army"); //Police Maverick
    armycar[41]=SetVehicleNumberPlate(CreateVehicle(433,161.79880000,1907.00050000,19.09360000,268.73620000,27,27,0),"Army"); //Barracks
    armycar[42]=SetVehicleNumberPlate(CreateVehicle(433,161.80350000,1898.52640000,19.14280000,270.70630000,27,27,0),"Army"); //Barracks
    armycar[43]=SetVehicleNumberPlate(CreateVehicle(415,219.67430000,1919.79750000,17.41120000,178.71720000,27,27,0),"Army"); //Cheetah
    armycar[44]=SetVehicleNumberPlate(CreateVehicle(415,210.80650000,1919.46670000,17.41080000,176.55230000,27,27,0),"Army"); //Cheetah
    armycar[45]=SetVehicleNumberPlate(CreateVehicle(560,202.40920000,1920.04770000,17.34590000,178.72570000,27,27,0),"Army"); //Sultan
    armycar[46]=SetVehicleNumberPlate(CreateVehicle(560,193.18360000,1919.94570000,17.34610000,178.20990000,27,27,0),"Army"); //Sultan
    armycar[47]=SetVehicleNumberPlate(CreateVehicle(425,150.66350000,1821.94870000,18.22230000,175.19350000,27,27,0),"Army"); //Hunter
    armycar[48]=SetVehicleNumberPlate(CreateVehicle(425,137.68540000,1822.51310000,18.38620000,179.93850000,27,27,0),"Army"); //Hunter


    // SeSe Cars Frakid 4
    sesecar[0]=SetVehicleNumberPlate(CreateVehicle(487,1117.87540000,-2052.65650000,74.60460000,264.74720000,1,1,0),"SeSe"); //Maverick
    sesecar[1]=SetVehicleNumberPlate(CreateVehicle(487,1118.05620000,-2018.34510000,74.65950000,269.99940000,1,1,0),"SeSe"); //Maverick
    sesecar[2]=SetVehicleNumberPlate(CreateVehicle(409,1246.99000000,-2044.29660000,59.68550000,268.58210000,1,1,0),"SeSe"); //Stretch
    sesecar[3]=SetVehicleNumberPlate(CreateVehicle(409,1246.94320000,-2051.36350000,59.60550000,269.61730000,1,1,0),"SeSe"); //Stretch
    sesecar[4]=SetVehicleNumberPlate(CreateVehicle(490,1246.34680000,-2025.55910000,59.94500000,270.72100000,1,1,0),"SeSe"); //FBI Rancher
    sesecar[5]=SetVehicleNumberPlate(CreateVehicle(490,1246.27440000,-2020.53540000,59.94600000,271.70340000,1,1,0),"SeSe"); //FBI Rancher
    sesecar[6]=SetVehicleNumberPlate(CreateVehicle(490,1246.31560000,-2015.43930000,59.89540000,270.52780000,1,1,0),"SeSe"); //FBI Rancher
    sesecar[7]=SetVehicleNumberPlate(CreateVehicle(490,1246.26440000,-2010.76920000,59.94640000,270.62830000,1,1,0),"SeSe"); //FBI Rancher
    sesecar[8]=SetVehicleNumberPlate(CreateVehicle(507,1276.35000000,-2010.31310000,58.77910000,90.83570000,1,1,0),"SeSe"); //Elegant
    sesecar[9]=SetVehicleNumberPlate(CreateVehicle(507,1276.54610000,-2015.42590000,58.77860000,90.14530000,1,1,0),"SeSe"); //Elegant
    sesecar[10]=SetVehicleNumberPlate(CreateVehicle(507,1276.57710000,-2019.70230000,58.78170000,91.59290000,1,1,0),"SeSe"); //Elegant
    sesecar[11]=SetVehicleNumberPlate(CreateVehicle(507,1276.53270000,-2025.24800000,58.79620000,90.71160000,1,1,0),"SeSe"); //Elegant


    // O-Amt Cars Frakid 5
    oamtcar[1]=SetVehicleNumberPlate(CreateVehicle(416,900.79998779,-1269.09997559,15.00000000,0.00000000,3,3,0),"SAED"); //Ambulance
    oamtcar[2]=SetVehicleNumberPlate(CreateVehicle(482,890.20001221,-1270.19995117,15.00000000,0.00000000,3,3,0),"SAED"); //Burrito
    oamtcar[3]=SetVehicleNumberPlate(CreateVehicle(416,895.29998779,-1269.00000000,15.00000000,0.00000000,3,3,0),"SAED"); //Ambulance
    oamtcar[4]=SetVehicleNumberPlate(CreateVehicle(482,885.09997559,-1270.30004883,15.00000000,0.00000000,3,3,0),"SAED"); //Burrito
    oamtcar[5]=SetVehicleNumberPlate(CreateVehicle(482,880.00000000,-1270.30004883,15.00000000,0.00000000,3,3,0),"SAED"); //Burrito
    oamtcar[6]=SetVehicleNumberPlate(CreateVehicle(482,874.79998779,-1270.50000000,15.00000000,0.00000000,3,3,0),"SAED"); //Burrito
    oamtcar[7]=SetVehicleNumberPlate(CreateVehicle(544,867.90002441,-1255.00000000,15.30000019,271.25000000,3,3,0),"SAED"); //Firetruck LA
    oamtcar[8]=SetVehicleNumberPlate(CreateVehicle(544,867.59997559,-1244.90002441,15.30000019,271.24694824,3,3,0),"SAED"); //Firetruck LA
    oamtcar[9]=SetVehicleNumberPlate(CreateVehicle(525,902.90002441,-1232.09997559,16.70000076,120.00000000,3,3,0),"SAED"); //Tow Truck
    oamtcar[10]=SetVehicleNumberPlate(CreateVehicle(525,903.09997559,-1237.40002441,16.29999924,119.99816895,3,3,0),"SAED"); //Tow Truck
    oamtcar[11]=SetVehicleNumberPlate(CreateVehicle(525,903.09997559,-1242.69995117,15.89999962,119.99816895,3,3,0),"SAED"); //Tow Truck
    oamtcar[12]=SetVehicleNumberPlate(CreateVehicle(525,903.50000000,-1247.69995117,15.50000000,119.99816895,3,3,0),"SAED"); //Tow Truck
    oamtcar[13]=SetVehicleNumberPlate(CreateVehicle(525,903.40002441,-1253.50000000,15.10000038,119.99816895,3,3,0),"SAED"); //Tow Truck
    oamtcar[14]=SetVehicleNumberPlate(CreateVehicle(487,896.29998779,-1284.00000000,23.39999962,0.00000000,3,3,0),"SAED"); //Maverick
    oamtcar[15]=SetVehicleNumberPlate(CreateVehicle(487,881.79998779,-1284.09997559,23.39999962,0.00000000,3,3,0),"SAED"); //Maverick


    // News Cars Frakid 6

    newscar[0]=SetVehicleNumberPlate(CreateVehicle(582,972.70180000,-1524.33740000,13.61890000,178.99110000,1,1,0),"News"); //Newsvan
    newscar[1]=SetVehicleNumberPlate(CreateVehicle(582,977.68570000,-1524.33040000,13.61000000,179.52710000,1,1,0),"News"); //Newsvan
    newscar[2]=SetVehicleNumberPlate(CreateVehicle(582,982.64640000,-1524.59810000,13.60910000,181.17030000,1,1,0),"News"); //Newsvan
    newscar[3]=SetVehicleNumberPlate(CreateVehicle(582,966.89880000,-1524.29490000,13.61300000,179.22840000,1,1,0),"News"); //Newsvan
    newscar[4]=SetVehicleNumberPlate(CreateVehicle(582,961.88210000,-1524.23680000,13.61570000,178.50630000,1,1,0),"News"); //Newsvan
    newscar[5]=CreateVehicle(488,1006.87790000,-1528.97450000,23.90250000,268.57280000,1,1,0); //News Chopper
    newscar[6]=CreateVehicle(488,982.33390000,-1510.22080000,23.89930000,1.23030000,1,1,0); //News Chopper
    newscar[7]=CreateVehicle(488,970.01690000,-1510.65530000,23.91200000,0.95250000,1,1,0); //News Chopper


    // Mafia Cars Frakid 7
    mafiacar[0]=SetVehicleNumberPlate(CreateVehicle(560,286.8509,-1155.9063,80.6166,223.1438,0,0,0),"MAFIA"); // Mafia Auto 1
    mafiacar[1]=SetVehicleNumberPlate(CreateVehicle(560,282.9297,-1160.2615,80.6193,222.6119,0,0,0),"MAFIA"); // Mafia Auto 2
    mafiacar[2]=SetVehicleNumberPlate(CreateVehicle(409,331.6517,-1154.3693,80.7098,134.5181,0,0,0),"MAFIA"); // Mafia Auto 3
    mafiacar[3]=SetVehicleNumberPlate(CreateVehicle(445,298.9690,-1184.1986,80.7891,3.9195,0,0,0),"MAFIA"); // Mafia Auto 4
    mafiacar[4]=SetVehicleNumberPlate(CreateVehicle(445,302.3577,-1180.7366,80.7891,5.0348,0,0,0),"MAFIA"); // Mafia Auto 5
    mafiacar[5]=SetVehicleNumberPlate(CreateVehicle(445,295.4462,-1181.3068,80.7891,3.2320,0,0,0),"MAFIA"); // Mafia Auto 6
    mafiacar[6]=SetVehicleNumberPlate(CreateVehicle(445,291.5644,-1176.0853,80.7890,0.2551,0,0,0),"MAFIA"); // Mafia Auto 7
    mafiacar[7]=SetVehicleNumberPlate(CreateVehicle(482,291.6999,-1152.0984,81.0282,223.0772,0,0,0),"MAFIA"); // Mafia Auto 8
    mafiacar[8]=SetVehicleNumberPlate(CreateVehicle(482,294.2274,-1148.9983,81.0341,222.8748,0,0,0),"MAFIA"); // Mafia Auto 9

  • Warum 23 LSPD Cars wenn du nur 21 hast? w00t?


    lg

    RTL - Das N steht für Niveau!
    MfG,
    StreetS


    Jegliche Freundesanfragen, die für mich keinen Sinn ergeben, werden professionell Ignoriert. (Gleiche mit Skype!)
    Wer es nicht kapiert wird in Breadfish & Skype blockiert.


    - Stolzer PAWN Scripter der Klasse Beherrscht

  • Ich habe den Fehler Gefunden er leigt bei "SetVehicleNumberPlate" Also entferne ich es Geht alles wieder.. nur das Kennzeichen ist dann nicht mehr LSPD sondern XYZ blablalba oder so also das normale kenzeichen halt eines cars ^^... Also ehm gibt es dafür noch eine 2te Lösung Weil ich will die Kennzeichen Ja alle so lassen wie sie jetzt sind ?



    MFG Equ

  • probiere es so mal


    iss nur ein beispiel jetzt



    NewbRoller[1] = AddStaticVehicleEx(462,1137.5157,-1474.3217,15.3941,0.7079,43,43,700);
    NewbRoller[2] = AddStaticVehicleEx(462,1080.6099,-1772.5944,12.9420,271.4286,43,43,700);
    SetVehicleNumberPlate(NewbRoller[1],"LS-Noob");
    SetVehicleNumberPlate(NewbRoller[2],"LS-Noob");



    damit müste es klappen