Fahrzeuge werden InGame nicht angezeigt

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
  • Hey Leute,


    also ich habe folgendes Problem:
    Ich habe Fraktionsfahrzeuge in mein Script eingebaut, diese werden aber nicht auf dem Server InGame angezeigt, sie sind also nicht vorhanden.
    Wie kann ich dieses Problem beheben? Ich habe mir schon andere Themen angeschaut, dort blieb die Lösung aber aus.
    bin dankebar für jede Hilfe


    //Fahrzeuge


    lspdcars[0]= CreateVehicle(523,1587.41280000,-1666.28660000,5.46120000,268.46920000,-1,-1,600000); //HPV1000
    lspdcars[1]= CreateVehicle(523,1587.34480000,-1668.44700000,5.46000000,271.24670000,-1,-1,600000); //HPV1000
    lspdcars[2]= CreateVehicle(523,1587.41860000,-1670.35910000,5.46380000,269.87930000,-1,-1,600000); //HPV1000
    lspdcars[3]= CreateVehicle(523,1587.45400000,-1672.39270000,5.46600000,270.84780000,-1,-1,600000); //HPV1000
    lspdcars[4]= CreateVehicle(596,1601.22380000,-1688.12820000,5.61240000,87.99660000,-1,1,600000); //Police Car (LSPD)
    lspdcars[5]= CreateVehicle(596,1601.14780000,-1684.35620000,5.61090000,91.56270000,-1,1,600000); //Police Car (LSPD)
    lspdcars[6]= CreateVehicle(596,1601.11850000,-1692.07530000,5.61080000,89.34110000,-1,1,600000); //Police Car (LSPD)
    lspdcars[7]= CreateVehicle(596,1601.16040000,-1696.07980000,5.61100000,88.95620000,-1,1,600000); //Police Car (LSPD)
    lspdcars[8]= CreateVehicle(596,1601.18190000,-1700.16460000,5.61190000,88.30710000,-1,1,600000); //Police Car (LSPD)
    lspdcars[9]= CreateVehicle(596,1601.24670000,-1704.28560000,5.61060000,88.35560000,-1,1,600000); //Police Car (LSPD)
    lspdcars[10]= CreateVehicle(599,1595.48230000,-1710.53740000,6.08500000,0.67260000,-1,1,600000); //Police Ranger
    lspdcars[11]= CreateVehicle(599,1591.52770000,-1710.38050000,6.07920000,359.24630000,-1,1,600000); //Police Ranger
    lspdcars[12]= CreateVehicle(427,1587.57040000,-1710.49410000,6.02240000,359.45100000,-1,1,600000); //Enforcer
    lspdcars[13]= CreateVehicle(541,1566.18800000,-1710.55310000,5.51570000,1.44390000,125,0,600000); //Bullet
    lspdcars[14]= CreateVehicle(497,1558.28260000,-1610.25110000,13.55670000,86.98860000,-1,1,600000); //Police Maverick
    ballascars[0]= CreateVehicle(536,1696.17100000,-2117.44700000,13.19820000,88.84710000,150,150,600001); //Blade
    ballascars[1]= CreateVehicle(536,1699.02870000,-2098.02080000,13.28450000,178.13930000,150,150,600001); //Blade
    ballascars[2]= CreateVehicle(517,1672.27310000,-2115.82710000,13.40180000,267.89610000,150,150,600001); //Majestic
    ballascars[3]= CreateVehicle(517,1704.38150000,-2127.14010000,13.40180000,359.44440000,150,150,600001); //Majestic
    ballascars[4]= CreateVehicle(491,1672.54200000,-2111.28490000,13.30310000,270.56470000,150,150,600001); //Virgo
    ballascars[5]= CreateVehicle(418,1724.93820000,-2098.02730000,13.63970000,178.92750000,153,150,600001); //Moonbeam
    ballascars[6]= CreateVehicle(491,1687.91690000,-2108.04250000,13.21620000,270.35350000,150,150,600001); //Virgo
    grovecars[0]= CreateVehicle(492,2508.90190000,-1671.94760000,13.17220000,348.19490000,86,86,600002); //Greenwood
    grovecars[1]= CreateVehicle(533,2473.27250000,-1692.08420000,13.22360000,0.51350000,86,86,600002); //Feltzer
    grovecars[2]= CreateVehicle(536,2498.58500000,-1654.87050000,13.15130000,81.78220000,86,86,600002); //Blade
    grovecars[3]= CreateVehicle(536,2497.61570000,-1682.69800000,13.09590000,102.69750000,86,86,600002); //Blade
    grovecars[4]= CreateVehicle(567,2469.71630000,-1670.98940000,13.26650000,9.97590000,86,86,600002); //Savanna
    grovecars[5]= CreateVehicle(567,2484.92240000,-1654.45120000,13.26430000,267.80500000,86,86,600002); //Savanna
    grovecars[6]= CreateVehicle(459,2510.09380000,-1688.51600000,13.59800000,227.76490000,152,152,600002); //Berkley's RC Van
    sanicars[0]= CreateVehicle(416,2043.33540000,-1447.59910000,17.95700000,90.27760000,1,3,600003); //Ambulance
    sanicars[1]= CreateVehicle(596,2014.09900000,-1409.81930000,16.71260000,270.54310000,-1,151,600003); //Police Car (LSPD)
    sanicars[2]= CreateVehicle(596,1177.11160000,-1308.21440000,13.61240000,268.10610000,-1,151,600003); //Police Car (LSPD)
    sanicars[3]= CreateVehicle(596,1141.89480000,-1322.31080000,13.31750000,90.27750000,-1,151,600003); //Police Car (LSPD)
    sanicars[4]= CreateVehicle(596,1141.86180000,-1325.52940000,13.33230000,89.50270000,-1,151,600003); //Police Car (LSPD)
    sanicars[5]= CreateVehicle(596,1141.75630000,-1328.65730000,13.35760000,88.08770000,-1,151,600003); //Police Car (LSPD)
    sanicars[6]= CreateVehicle(596,1141.57970000,-1331.96630000,13.36140000,87.25620000,-1,151,600003); //Police Car (LSPD)
    sanicars[7]= CreateVehicle(416,1147.52490000,-1313.53530000,13.82200000,359.25720000,1,3,600003); //Ambulance
    sanicars[8]= CreateVehicle(416,1134.69340000,-1341.74130000,13.91570000,0.43470000,1,3,600003); //Ambulance
    sanicars[9]= CreateVehicle(416,1178.53780000,-1339.13790000,14.02480000,269.83230000,1,3,600003); //Ambulance
    newsreportercars[0]= CreateVehicle(488,2384.85790000,2323.79000000,8.32560000,0.31250000,1,2,600004); //News Chopper
    newsreportercars[1]= CreateVehicle(488,2362.08060000,2323.36550000,8.31900000,0.64860000,1,2,600004); //News Chopper
    newsreportercars[2]= CreateVehicle(586,2412.55640000,2336.78780000,10.34050000,268.41850000,1,2,600004); //Wayfarer
    newsreportercars[3]= CreateVehicle(586,2412.59080000,2334.27490000,10.34030000,270.80870000,1,2,600004); //Wayfarer
    newsreportercars[4]= CreateVehicle(400,2413.75390000,2331.42850000,10.91270000,267.25840000,1,2,600004); //Landstalker
    newsreportercars[5]= CreateVehicle(400,2413.53760000,2327.61380000,10.91270000,268.07730000,1,2,600004); //Landstalker
    newsreportercars[6]= CreateVehicle(400,2413.45650000,2323.78100000,10.91270000,269.92390000,1,2,600004); //Landstalker
    newsreportercars[7]= CreateVehicle(582,2414.55490000,2319.99050000,10.87750000,269.24050000,1,2,600004); //Newsvan
    newsreportercars[8]= CreateVehicle(582,2414.56670000,2316.17530000,10.87670000,269.59920000,1,2,600004); //Newsvan
    newsreportercars[9]= CreateVehicle(582,2414.48560000,2312.24850000,10.87670000,269.89350000,1,2,600004); //Newsvan
    newsreportercars[10]= CreateVehicle(582,2414.56860000,2308.21780000,10.87740000,270.26350000,1,2,600004); //Newsvan
    sekcars[0]= CreateVehicle(427,1938.83260000,708.49710000,10.95270000,359.52740000,-1,1,600005); //Enforcer
    sekcars[1]= CreateVehicle(490,1942.00940000,698.16270000,10.94740000,179.69390000,-1,-1,600005); //FBI Rancher
    sekcars[2]= CreateVehicle(490,1938.72160000,698.11210000,10.94680000,180.11440000,-1,-1,600005); //FBI Rancher
    sekcars[3]= CreateVehicle(497,1897.73660000,750.54080000,19.53230000,84.51870000,-1,1,600005); //Police Maverick
    sekcars[4]= CreateVehicle(497,1920.83450000,750.02890000,19.53710000,84.68970000,-1,1,600005); //Police Maverick
    sekcars[5]= CreateVehicle(528,1935.77920000,698.37810000,10.86370000,180.13800000,-1,-1,600005); //FBI Truck
    sekcars[6]= CreateVehicle(528,1932.44200000,698.31060000,10.86340000,180.17410000,-1,-1,600005); //FBI Truck
    sekcars[7]= CreateVehicle(598,1929.28550000,698.11150000,10.58480000,182.13970000,-1,1,600005); //Police Car (LVPD)
    sekcars[8]= CreateVehicle(598,1926.02050000,698.12720000,10.59520000,181.66860000,-1,1,600005); //Police Car (LVPD)
    sekcars[9]= CreateVehicle(598,1922.73300000,698.02460000,10.56650000,179.19370000,-1,1,600005); //Police Car (LVPD)
    sekcars[10]= CreateVehicle(598,1919.64170000,697.99610000,10.56000000,180.37040000,-1,1,600005); //Police Car (LVPD)
    sekcars[11]= CreateVehicle(598,1916.55220000,698.05480000,10.56580000,181.95730000,-1,1,600005); //Police Car (LVPD)
    sekcars[12]= CreateVehicle(601,1933.97530000,708.56840000,10.57910000,359.20840000,1,1,600005); //S.W.A.T. Van
    sekcars[13]= CreateVehicle(601,1927.44980000,708.67530000,10.57910000,359.67450000,1,1,600005); //S.W.A.T. Van
    sekcars[14]= CreateVehicle(609,1922.89420000,708.64240000,10.88880000,359.26400000,36,36,600005); //Boxville
    mafiacars[0]= CreateVehicle(413,2832.72780000,976.99100000,10.83600000,178.65570000,25,25,600006); //Pony
    mafiacars[1]= CreateVehicle(487,2813.78130000,992.23650000,17.71590000,182.37280000,25,25,600006); //Maverick
    mafiacars[2]= CreateVehicle(516,2833.45680000,939.35880000,10.58410000,358.78110000,25,25,600006); //Nebula
    mafiacars[3]= CreateVehicle(521,2804.83520000,927.19230000,10.31880000,174.49340000,25,25,600006); //FCR-900
    mafiacars[4]= CreateVehicle(521,2808.08010000,926.82730000,10.31280000,178.37550000,25,25,600006); //FCR-900
    mafiacars[5]= CreateVehicle(542,2817.63940000,927.95880000,10.49300000,180.29190000,25,25,600006); //Clover
    mafiacars[6]= CreateVehicle(542,2811.16310000,928.27430000,10.49090000,181.31460000,25,25,600006); //Clover
    mafiacars[7]= CreateVehicle(542,2823.93870000,927.74710000,10.49360000,177.96210000,25,25,600006); //Clover
    mafiacars[8]= CreateVehicle(549,2804.69090000,939.31950000,10.44720000,0.50320000,25,25,600006); //Tampa
    mafiacars[9]= CreateVehicle(549,2811.32100000,939.31660000,10.44730000,358.47630000,25,25,600006); //Tampa
    mafiacars[10]= CreateVehicle(549,2817.50100000,939.42340000,10.44730000,359.89110000,25,25,600006); //Tampa
    mafiacars[11]= CreateVehicle(549,2824.01610000,939.15250000,10.44730000,2.18390000,25,25,600006); //Tampa
    armycars[0]= CreateVehicle(425,297.03050000,1918.81840000,18.21270000,0.00000000,43,-1,600007); //Hunter
    armycars[1]= CreateVehicle(425,215.35070000,1975.87900000,18.22420000,0.00000000,43,-1,600007); //Hunter
    armycars[2]= CreateVehicle(497,301.17250000,1965.01670000,17.82120000,283.96130000,-1,1,600007); //Police Maverick
    armycars[3]= CreateVehicle(497,297.44040000,1977.86760000,18.51360000,286.10120000,-1,1,600007); //Police Maverick
    armycars[4]= CreateVehicle(520,276.43800000,1989.56040000,18.36270000,272.35260000,-1,-1,600007); //Hydra
    armycars[5]= CreateVehicle(520,278.13810000,1956.67260000,18.36380000,266.84880000,-1,-1,600007); //Hydra
    armycars[6]= CreateVehicle(520,276.51630000,2024.48180000,18.36170000,272.72830000,-1,-1,600007); //Hydra
    armycars[7]= CreateVehicle(468,204.79320000,1860.32790000,12.80960000,325.93970000,46,46,600007); //Sanchez
    armycars[8]= CreateVehicle(468,203.30370000,1861.55770000,12.80970000,331.64430000,46,46,600007); //Sanchez
    armycars[9]= CreateVehicle(470,213.79570000,1854.11720000,12.87640000,2.89400000,43,-1,600007); //Patriot
    armycars[10]= CreateVehicle(470,220.95420000,1854.43020000,12.87490000,5.99250000,43,-1,600007); //Patriot
    armycars[11]= CreateVehicle(470,234.39940000,1894.57580000,17.63710000,90.93590000,43,-1,600007); //Patriot
    armycars[12]= CreateVehicle(470,234.69090000,1889.58910000,17.63430000,91.75060000,43,-1,600007); //Patriot
    armycars[13]= CreateVehicle(548,186.07130000,1835.22670000,24.82610000,87.77170000,1,1,600007); //Cargobob
    armycars[14]= CreateVehicle(598,202.40500000,1920.10110000,17.38840000,180.47550000,-1,46,600007); //Police Car (LVPD)
    armycars[15]= CreateVehicle(598,193.11320000,1920.17300000,17.38530000,181.60600000,-1,46,600007); //Police Car (LVPD)
    armycars[16]= CreateVehicle(598,211.60150000,1920.05540000,17.38570000,178.84710000,-1,46,600007); //Police Car (LVPD)
    armycars[17]= CreateVehicle(598,220.30840000,1920.23780000,17.38770000,177.90500000,-1,46,600007); //Police Car (LVPD)
    armycars[18]= CreateVehicle(599,235.35540000,1884.33300000,17.83340000,90.31340000,-1,46,600007); //Police Ranger
    armycars[19]= CreateVehicle(599,235.27280000,1879.12280000,17.83090000,89.25830000,-1,46,600007); //Police Ranger
    armycars[20]= CreateVehicle(433,183.51630000,1927.92770000,18.29340000,181.41780000,43,-1,600007); //Barracks
    armycars[21]= CreateVehicle(433,176.62170000,1927.89900000,18.54550000,181.28450000,43,-1,600007); //Barracks
    armycars[22]= CreateVehicle(433,168.85760000,1927.99610000,18.83230000,181.41440000,43,-1,600007); //Barracks



    //Fahzeuge
    new lspdcars[16];
    new sanicars[11];
    new mafiacars[12];
    new sekcars[15];
    new armycars[23];
    new ballascars[8];
    new grovecars[8];
    new newsreportercars[11];


    MFG FishToast



    edit: achso wenn ich den Server starte kommt: Number of vehicle models 36

  • Bist du in der richtigen Virtuellen Welt?
    lspdcars[0] = CreateVehicle(523,1587.41280000,-1666.28660000,5.46120000,268.46920000,-1,-1,600000); //HPV1000
    lspdcars[1] = CreateVehicle(523,1587.34480000,-1668.44700000,5.46000000,271.24670000,-1,-1,600000); //HPV1000


    Oder du probierst es so :)

  • also ich habe alle varianten probiert aber es funktioniert immer noch nicht
    ich zeige euch jetzt mal den ganzen anfang meines scriptes, vielleicht häng es mit den includes zusammen:
    // FishToast Gamemode



    //Includes
    #include <a_samp>
    #include <Dini>
    #include <MD5>
    #include <a_http>
    #include <streamer>



    //Farben
    #define Orange 0xFF8C00FF
    #define Gelb 0xFFFF00FF
    #define Rot 0xFF2800FF
    #define Blau 0x000FFFFF
    #define lspdblau 0x004BFFFF
    #define fbiblau 0x2800FFFF
    #define bundeswehrgrün 0x05FF00FF
    #define mafiagrau 0x505050FF
    #define sanitäterrot 0xEB0000FF
    #define grovestreetgrün 0x006000FF
    #define ballaslila 0xAA00FFFF
    #define ziviweis 0xC8C8C8FF
    #define newsreporterblau 0x00FF5AFF


    //Variabelen
    new lpickup;
    new lepickup;
    new lebpickup;
    new lebepickup;
    new lebenpickup;
    new lebenppickup;
    new lebenplpickup;
    new schpickup;
    new schupickup;
    new schutpickup;


    //Dialoge
    #define REGISTER 1
    #define LOGIN 2
    #define STATS 3


    //Define


    #define sFraktion "LSPD"
    #define sFraktion2 "S.W.A.T."
    #define sFratkion3 "Bundeswehr"
    #define sFraktion4 "Mafia"
    #define sFraktion5 "Sanitäter"
    #define sFraktion6 "GroveStreet"
    #define sFraktion7 "Ballas"
    #define sFraktion8 "Newsreporter"
    #define Version "0.1"


    //DCMD
    #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1


    //Enums


    enum SpielerDaten
    {
    Adminlevel,
    Level,
    Fraktion,
    Team,
    sLogin
    };


    new sSpieler[MAX_PLAYERS][SpielerDaten];
    //Tore
    new sektor;
    new policegate;
    new mafiagate;
    new armygate;
    new armytor;
    new heb;
    new hb;
    new policetor;


    //Fahzeuge
    new lspdcars[16];
    new sanicars[11];
    new mafiacars[12];
    new sekcars[15];
    new armycars[23];
    new ballascars[8];
    new grovecars[8];
    new newsreportercars[11];


    main()
    {
    print("\n----------------------------------");
    print(" FishToast RealLife Gamemode");
    print("----------------------------------\n");
    }



    public OnGameModeInit()
    {


    //3DTexte
    Create3DTextLabel("Willkommen am Zivilisten Spawnpunkt:\nLookout Tower",Orange,1093.2295,-803.2081,107.4198+0.5,40.0,0);


    //Pickup
    lpickup = CreatePickup(1240, 1, 254.7018,77.7561,1003.6406, -1);
    lepickup = CreatePickup(1240, 1, 1173.4207,-1322.9547,15.3920, -1);
    lebpickup = CreatePickup(1240, 1, 2367.0361,-1127.5126,1050.8750, -1);
    lebepickup = CreatePickup(1240, 1, 2496.1260,-1709.1077,1014.7422, -1);
    lebenpickup = CreatePickup(1240, 1, 1899.9877,728.6682,10.8198, -1);
    lebenppickup = CreatePickup(1240, 1, 237.1612,1872.2593,11.4609, -1);
    lebenplpickup = CreatePickup(1240, 1, 2496.1260,-1709.1077,1014.7422, -1);
    schpickup = CreatePickup(1242, 1, 257.8673,75.2630,1003.6406, -1);
    schupickup = CreatePickup(1242, 1, 1898.0510,732.2806,10.8198, -1);
    schutpickup = CreatePickup(1242, 1, 235.0986,1872.4099,11.4609, -1);


    //Bots/NPCS
    ConnectNPC("Nemesis","nemesisrec");


    //Updatecheck
    HTTP(1,HTTP_GET,"www.nemesus.de/Updates/tutorialscript.txt","","Updatecheck");


    SetGameModeText("GermanRealLife");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);


    //Objecte


    (die Objecte lass ich raus das sind zu viele)

    //Fahrzeuge


    lspdcars[0] = CreateVehicle(523,1587.41280000,-1666.28660000,5.46120000,268.46920000,-1,-1,600000); //HPV1000
    lspdcars[1] = CreateVehicle(523,1587.34480000,-1668.44700000,5.46000000,271.24670000,-1,-1,600000); //HPV1000
    lspdcars[2] = CreateVehicle(523,1587.41860000,-1670.35910000,5.46380000,269.87930000,-1,-1,600000); //HPV1000
    lspdcars[3] = CreateVehicle(523,1587.45400000,-1672.39270000,5.46600000,270.84780000,-1,-1,600000); //HPV1000
    lspdcars[4] = CreateVehicle(596,1601.22380000,-1688.12820000,5.61240000,87.99660000,-1,1,600000); //Police Car (LSPD)
    lspdcars[5] = CreateVehicle(596,1601.14780000,-1684.35620000,5.61090000,91.56270000,-1,1,600000); //Police Car (LSPD)
    lspdcars[6] = CreateVehicle(596,1601.11850000,-1692.07530000,5.61080000,89.34110000,-1,1,600000); //Police Car (LSPD)
    lspdcars[7] = CreateVehicle(596,1601.16040000,-1696.07980000,5.61100000,88.95620000,-1,1,600000); //Police Car (LSPD)
    lspdcars[8] = CreateVehicle(596,1601.18190000,-1700.16460000,5.61190000,88.30710000,-1,1,600000); //Police Car (LSPD)
    lspdcars[9] = CreateVehicle(596,1601.24670000,-1704.28560000,5.61060000,88.35560000,-1,1,600000); //Police Car (LSPD)
    lspdcars[10] = CreateVehicle(599,1595.48230000,-1710.53740000,6.08500000,0.67260000,-1,1,600000); //Police Ranger
    lspdcars[11] = CreateVehicle(599,1591.52770000,-1710.38050000,6.07920000,359.24630000,-1,1,600000); //Police Ranger
    lspdcars[12] = CreateVehicle(427,1587.57040000,-1710.49410000,6.02240000,359.45100000,-1,1,600000); //Enforcer
    lspdcars[13] = CreateVehicle(541,1566.18800000,-1710.55310000,5.51570000,1.44390000,125,0,600000); //Bullet
    lspdcars[14] = CreateVehicle(497,1558.28260000,-1610.25110000,13.55670000,86.98860000,-1,1,600000); //Police Maverick
    ballascars[0] = CreateVehicle(536,1696.17100000,-2117.44700000,13.19820000,88.84710000,150,150,600001); //Blade
    ballascars[1] = CreateVehicle(536,1699.02870000,-2098.02080000,13.28450000,178.13930000,150,150,600001); //Blade
    ballascars[2] = CreateVehicle(517,1672.27310000,-2115.82710000,13.40180000,267.89610000,150,150,600001); //Majestic
    ballascars[3] = CreateVehicle(517,1704.38150000,-2127.14010000,13.40180000,359.44440000,150,150,600001); //Majestic
    ballascars[4] = CreateVehicle(491,1672.54200000,-2111.28490000,13.30310000,270.56470000,150,150,600001); //Virgo
    ballascars[5] = CreateVehicle(418,1724.93820000,-2098.02730000,13.63970000,178.92750000,153,150,600001); //Moonbeam
    ballascars[6] = CreateVehicle(491,1687.91690000,-2108.04250000,13.21620000,270.35350000,150,150,600001); //Virgo
    grovecars[0] = CreateVehicle(492,2508.90190000,-1671.94760000,13.17220000,348.19490000,86,86,600002); //Greenwood
    grovecars[1] = CreateVehicle(533,2473.27250000,-1692.08420000,13.22360000,0.51350000,86,86,600002); //Feltzer
    grovecars[2] = CreateVehicle(536,2498.58500000,-1654.87050000,13.15130000,81.78220000,86,86,600002); //Blade
    grovecars[3] = CreateVehicle(536,2497.61570000,-1682.69800000,13.09590000,102.69750000,86,86,600002); //Blade
    grovecars[4] = CreateVehicle(567,2469.71630000,-1670.98940000,13.26650000,9.97590000,86,86,600002); //Savanna
    grovecars[5] = CreateVehicle(567,2484.92240000,-1654.45120000,13.26430000,267.80500000,86,86,600002); //Savanna
    grovecars[6] = CreateVehicle(459,2510.09380000,-1688.51600000,13.59800000,227.76490000,152,152,600002); //Berkley's RC Van
    sanicars[0] = CreateVehicle(416,2043.33540000,-1447.59910000,17.95700000,90.27760000,1,3,600003); //Ambulance
    sanicars[1] = CreateVehicle(596,2014.09900000,-1409.81930000,16.71260000,270.54310000,-1,151,600003); //Police Car (LSPD)
    sanicars[2] = CreateVehicle(596,1177.11160000,-1308.21440000,13.61240000,268.10610000,-1,151,600003); //Police Car (LSPD)
    sanicars[3] = CreateVehicle(596,1141.89480000,-1322.31080000,13.31750000,90.27750000,-1,151,600003); //Police Car (LSPD)
    sanicars[4] = CreateVehicle(596,1141.86180000,-1325.52940000,13.33230000,89.50270000,-1,151,600003); //Police Car (LSPD)
    sanicars[5] = CreateVehicle(596,1141.75630000,-1328.65730000,13.35760000,88.08770000,-1,151,600003); //Police Car (LSPD)
    sanicars[6] = CreateVehicle(596,1141.57970000,-1331.96630000,13.36140000,87.25620000,-1,151,600003); //Police Car (LSPD)
    sanicars[7] = CreateVehicle(416,1147.52490000,-1313.53530000,13.82200000,359.25720000,1,3,600003); //Ambulance
    sanicars[8] = CreateVehicle(416,1134.69340000,-1341.74130000,13.91570000,0.43470000,1,3,600003); //Ambulance
    sanicars[9] = CreateVehicle(416,1178.53780000,-1339.13790000,14.02480000,269.83230000,1,3,600003); //Ambulance
    newsreportercars[0] = CreateVehicle(488,2384.85790000,2323.79000000,8.32560000,0.31250000,1,2,600004); //News Chopper
    newsreportercars[1] = CreateVehicle(488,2362.08060000,2323.36550000,8.31900000,0.64860000,1,2,600004); //News Chopper
    newsreportercars[2] = CreateVehicle(586,2412.55640000,2336.78780000,10.34050000,268.41850000,1,2,600004); //Wayfarer
    newsreportercars[3] = CreateVehicle(586,2412.59080000,2334.27490000,10.34030000,270.80870000,1,2,600004); //Wayfarer
    newsreportercars[4] = CreateVehicle(400,2413.75390000,2331.42850000,10.91270000,267.25840000,1,2,600004); //Landstalker
    newsreportercars[5] = CreateVehicle(400,2413.53760000,2327.61380000,10.91270000,268.07730000,1,2,600004); //Landstalker
    newsreportercars[6] = CreateVehicle(400,2413.45650000,2323.78100000,10.91270000,269.92390000,1,2,600004); //Landstalker
    newsreportercars[7] = CreateVehicle(582,2414.55490000,2319.99050000,10.87750000,269.24050000,1,2,600004); //Newsvan
    newsreportercars[8] = CreateVehicle(582,2414.56670000,2316.17530000,10.87670000,269.59920000,1,2,600004); //Newsvan
    newsreportercars[9] = CreateVehicle(582,2414.48560000,2312.24850000,10.87670000,269.89350000,1,2,600004); //Newsvan
    newsreportercars[10] = CreateVehicle(582,2414.56860000,2308.21780000,10.87740000,270.26350000,1,2,600004); //Newsvan
    sekcars[0] = CreateVehicle(427,1938.83260000,708.49710000,10.95270000,359.52740000,-1,1,600005); //Enforcer
    sekcars[1] = CreateVehicle(490,1942.00940000,698.16270000,10.94740000,179.69390000,-1,-1,600005); //FBI Rancher
    sekcars[2] = CreateVehicle(490,1938.72160000,698.11210000,10.94680000,180.11440000,-1,-1,600005); //FBI Rancher
    sekcars[3] = CreateVehicle(497,1897.73660000,750.54080000,19.53230000,84.51870000,-1,1,600005); //Police Maverick
    sekcars[4] = CreateVehicle(497,1920.83450000,750.02890000,19.53710000,84.68970000,-1,1,600005); //Police Maverick
    sekcars[5] = CreateVehicle(528,1935.77920000,698.37810000,10.86370000,180.13800000,-1,-1,600005); //FBI Truck
    sekcars[6] = CreateVehicle(528,1932.44200000,698.31060000,10.86340000,180.17410000,-1,-1,600005); //FBI Truck
    sekcars[7] = CreateVehicle(598,1929.28550000,698.11150000,10.58480000,182.13970000,-1,1,600005); //Police Car (LVPD)
    sekcars[8] = CreateVehicle(598,1926.02050000,698.12720000,10.59520000,181.66860000,-1,1,600005); //Police Car (LVPD)
    sekcars[9] = CreateVehicle(598,1922.73300000,698.02460000,10.56650000,179.19370000,-1,1,600005); //Police Car (LVPD)
    sekcars[10] = CreateVehicle(598,1919.64170000,697.99610000,10.56000000,180.37040000,-1,1,600005); //Police Car (LVPD)
    sekcars[11] = CreateVehicle(598,1916.55220000,698.05480000,10.56580000,181.95730000,-1,1,600005); //Police Car (LVPD)
    sekcars[12] = CreateVehicle(601,1933.97530000,708.56840000,10.57910000,359.20840000,1,1,600005); //S.W.A.T. Van
    sekcars[13] = CreateVehicle(601,1927.44980000,708.67530000,10.57910000,359.67450000,1,1,600005); //S.W.A.T. Van
    sekcars[14] = CreateVehicle(609,1922.89420000,708.64240000,10.88880000,359.26400000,36,36,600005); //Boxville
    mafiacars[0] = CreateVehicle(413,2832.72780000,976.99100000,10.83600000,178.65570000,25,25,600006); //Pony
    mafiacars[1] = CreateVehicle(487,2813.78130000,992.23650000,17.71590000,182.37280000,25,25,600006); //Maverick
    mafiacars[2] = CreateVehicle(516,2833.45680000,939.35880000,10.58410000,358.78110000,25,25,600006); //Nebula
    mafiacars[3] = CreateVehicle(521,2804.83520000,927.19230000,10.31880000,174.49340000,25,25,600006); //FCR-900
    mafiacars[4] = CreateVehicle(521,2808.08010000,926.82730000,10.31280000,178.37550000,25,25,600006); //FCR-900
    mafiacars[5] = CreateVehicle(542,2817.63940000,927.95880000,10.49300000,180.29190000,25,25,600006); //Clover
    mafiacars[6] = CreateVehicle(542,2811.16310000,928.27430000,10.49090000,181.31460000,25,25,600006); //Clover
    mafiacars[7] = CreateVehicle(542,2823.93870000,927.74710000,10.49360000,177.96210000,25,25,600006); //Clover
    mafiacars[8] = CreateVehicle(549,2804.69090000,939.31950000,10.44720000,0.50320000,25,25,600006); //Tampa
    mafiacars[9] = CreateVehicle(549,2811.32100000,939.31660000,10.44730000,358.47630000,25,25,600006); //Tampa
    mafiacars[10] = CreateVehicle(549,2817.50100000,939.42340000,10.44730000,359.89110000,25,25,600006); //Tampa
    mafiacars[11] = CreateVehicle(549,2824.01610000,939.15250000,10.44730000,2.18390000,25,25,600006); //Tampa
    armycars[0] = CreateVehicle(425,297.03050000,1918.81840000,18.21270000,0.00000000,43,-1,600007); //Hunter
    armycars[1] = CreateVehicle(425,215.35070000,1975.87900000,18.22420000,0.00000000,43,-1,600007); //Hunter
    armycars[2] = CreateVehicle(497,301.17250000,1965.01670000,17.82120000,283.96130000,-1,1,600007); //Police Maverick
    armycars[3] = CreateVehicle(497,297.44040000,1977.86760000,18.51360000,286.10120000,-1,1,600007); //Police Maverick
    armycars[4] = CreateVehicle(520,276.43800000,1989.56040000,18.36270000,272.35260000,-1,-1,600007); //Hydra
    armycars[5] = CreateVehicle(520,278.13810000,1956.67260000,18.36380000,266.84880000,-1,-1,600007); //Hydra
    armycars[6] = CreateVehicle(520,276.51630000,2024.48180000,18.36170000,272.72830000,-1,-1,600007); //Hydra
    armycars[7] = CreateVehicle(468,204.79320000,1860.32790000,12.80960000,325.93970000,46,46,600007); //Sanchez
    armycars[8] = CreateVehicle(468,203.30370000,1861.55770000,12.80970000,331.64430000,46,46,600007); //Sanchez
    armycars[9] = CreateVehicle(470,213.79570000,1854.11720000,12.87640000,2.89400000,43,-1,600007); //Patriot
    armycars[10] = CreateVehicle(470,220.95420000,1854.43020000,12.87490000,5.99250000,43,-1,600007); //Patriot
    armycars[11] = CreateVehicle(470,234.39940000,1894.57580000,17.63710000,90.93590000,43,-1,600007); //Patriot
    armycars[12] = CreateVehicle(470,234.69090000,1889.58910000,17.63430000,91.75060000,43,-1,600007); //Patriot
    armycars[13] = CreateVehicle(548,186.07130000,1835.22670000,24.82610000,87.77170000,1,1,600007); //Cargobob
    armycars[14] = CreateVehicle(598,202.40500000,1920.10110000,17.38840000,180.47550000,-1,46,600007); //Police Car (LVPD)
    armycars[15] = CreateVehicle(598,193.11320000,1920.17300000,17.38530000,181.60600000,-1,46,600007); //Police Car (LVPD)
    armycars[16] = CreateVehicle(598,211.60150000,1920.05540000,17.38570000,178.84710000,-1,46,600007); //Police Car (LVPD)
    armycars[17] = CreateVehicle(598,220.30840000,1920.23780000,17.38770000,177.90500000,-1,46,600007); //Police Car (LVPD)
    armycars[18] = CreateVehicle(599,235.35540000,1884.33300000,17.83340000,90.31340000,-1,46,600007); //Police Ranger
    armycars[19] = CreateVehicle(599,235.27280000,1879.12280000,17.83090000,89.25830000,-1,46,600007); //Police Ranger
    armycars[20] = CreateVehicle(433,183.51630000,1927.92770000,18.29340000,181.41780000,43,-1,600007); //Barracks
    armycars[21] = CreateVehicle(433,176.62170000,1927.89900000,18.54550000,181.28450000,43,-1,600007); //Barracks
    armycars[22] = CreateVehicle(433,168.85760000,1927.99610000,18.83230000,181.41440000,43,-1,600007); //Barracks



    //Objecte zählen
    new objekte = CountDynamicObjects();
    printf("Es wurden %d Objekte geladen!",objekte);
    return 1;
    }

  • jupp nutze addstaticvehicleex


    da createvehicle gar keine virtualworld hat


    createvehicle sagt doch (x,y,z,rotation,colro1,color2,respawn)

  • lspdcars[0] = CreateVehicle(523,1587.41280000,-1666.28660000,5.46120000,268.46920000,-1,-1,600000); //HPV1000


    for (new i=0;i<sizeof(lspdcars);i++)
    {
    SetVehicleVirtuallWorld(lspdcars[i],<deineworldid>);
    }

  • Hallo FishToast


    Versuch es doch mal So mit deinen Fahrzeugen:

    AddStaticVehicle(hier die X,Y,Z Kordinaten rein);


    Villt Funktioniert es ja Jetz in deinem Script


    MFG
    Dome331

  • mach die schleife unter die lspd cars un schaue was passiert, stellt euch doch net so an mensch

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen