Fahrzeuge Spawnen nicht obwohl sie Spawnen müssten

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
  • Hallo, folgende Fahrzeuge spawnen einfach nicht obwohl sie spawnen müssten habe es mit mehren Funktionen versucht: Createcar, AddStaticVehicle, AddStaticVehicleEx
    CreateVehicle(522,-2395.7417,341.9937,34.7387,278.7673,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2396.8040,340.2097,34.7349,282.3354,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2397.8594,338.5756,34.7404,283.7680,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2398.6814,337.0956,34.7417,281.3899,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2399.8323,335.3712,34.7461,282.5453,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2401.1406,333.5300,34.7430,287.5956,0.00000000,-1,-1,120); // NRG
    CreateVehicle(522,-2402.3191,331.5611,34.7439,277.4971,0.00000000,-1,-1,120); // NRG
    CreateVehicle(411,-2414.3125,349.5671,34.8990,235.7609,0.00000000,-1,-1,120); // Infi
    CreateVehicle(411,-2412.7644,352.0818,34.8989,235.0848,0.00000000,-1,-1,120); // Infi
    CreateVehicle(411,-2430.4436,321.8344,34.8990,244.8167,0.00000000,-1,-1,120); // Infi
    CreateVehicle(411,-2431.6855,319.0424,34.8990,245.4270,0.00000000,-1,-1,120); // Infi
    CreateVehicle(557,-2389.6599,353.6418,35.3636,251.6315,0.00000000,-1,-1,120); // monster
    CreateVehicle(557,-2422.5823,299.0238,35.4337,223.4267,0.00000000,-1,-1,120); // monster
    CreateVehicle(571,-2408.3772,321.1327,34.4557,196.9616,0.00000000,-1,-1,120); // kart
    CreateVehicle(571,-2409.5598,319.1306,34.4558,192.4898,0.00000000,-1,-1,120); // kart
    CreateVehicle(571,-2410.4949,317.1405,34.4555,191.5975,0.00000000,-1,-1,120); // kart
    CreateVehicle(571,-2411.8835,314.3925,34.4555,188.9751,0.00000000,-1,-1,120); // kart
    CreateVehicle(571,-2413.1448,312.0989,34.4557,190.7902,0.00000000,-1,-1,120); // kart
    CreateVehicle(571,-2414.6311,309.2859,34.4506,192.8755,0.00000000,-1,-1,120); // kart
    CreateVehicle(560,-2414.1448,322.8323,34.6737,329.5843,0.00000000,-1,-1,120); // Sultan
    CreateVehicle(560,-2410.8975,328.3636,34.6741,329.5844,0.00000000,-1,-1,120); // Sultan
    CreateVehicle(560,-2407.6577,333.8120,34.6740,328.9722,0.00000000,-1,-1,120); // Sultan
    CreateVehicle(560,-2404.1912,339.2230,34.6803,323.4310,0.00000000,-1,-1,120); // Sultan
    CreateVehicle(560,-2417.0928,316.4728,34.6740,335.0225,0.00000000,-1,-1,120); // Sultan


    mfg

  • Hi,
    versuchs mal so (unter OnGameModeInit):

    AddStaticVehicle(522,-2395.7417,341.9937,34.7387,278.7673,-1,-1); // NRG
    AddStaticVehicle(522,-2396.8040,340.2097,34.7349,282.3354,-1,-1); // NRG
    AddStaticVehicle(522,-2397.8594,338.5756,34.7404,283.7680,-1,-1); // NRG
    AddStaticVehicle(522,-2398.6814,337.0956,34.7417,281.3899,-1,-1); // NRG
    AddStaticVehicle(522,-2399.8323,335.3712,34.7461,282.5453,-1,-1); // NRG
    AddStaticVehicle(522,-2401.1406,333.5300,34.7430,287.5956,-1,-1); // NRG
    AddStaticVehicle(522,-2402.3191,331.5611,34.7439,277.4971,-1,-1); // NRG
    AddStaticVehicle(411,-2414.3125,349.5671,34.8990,235.7609,-1,-1); // Infi
    AddStaticVehicle(411,-2412.7644,352.0818,34.8989,235.0848,-1,-1); // Infi
    AddStaticVehicle(411,-2430.4436,321.8344,34.8990,244.8167,-1,-1); // Infi
    AddStaticVehicle(411,-2431.6855,319.0424,34.8990,245.4270,-1,-1); // Infi
    AddStaticVehicle(557,-2389.6599,353.6418,35.3636,251.6315,-1,-1); // monster
    AddStaticVehicle(557,-2422.5823,299.0238,35.4337,223.4267,-1,-1); // monster
    AddStaticVehicle(571,-2408.3772,321.1327,34.4557,196.9616,-1,-1); // kart
    AddStaticVehicle(571,-2409.5598,319.1306,34.4558,192.4898,-1,-1); // kart
    AddStaticVehicle(571,-2410.4949,317.1405,34.4555,191.5975,-1,-1); // kart
    AddStaticVehicle(571,-2411.8835,314.3925,34.4555,188.9751,-1,-1); // kart
    AddStaticVehicle(571,-2413.1448,312.0989,34.4557,190.7902,-1,-1); // kart
    AddStaticVehicle(571,-2414.6311,309.2859,34.4506,192.8755,-1,-1); // kart
    AddStaticVehicle(560,-2414.1448,322.8323,34.6737,329.5843,-1,-1); // Sultan
    AddStaticVehicle(560,-2410.8975,328.3636,34.6741,329.5844,-1,-1); // Sultan
    AddStaticVehicle(560,-2407.6577,333.8120,34.6740,328.9722,-1,-1); // Sultan
    AddStaticVehicle(560,-2404.1912,339.2230,34.6803,323.4310,-1,-1); // Sultan
    AddStaticVehicle(560,-2417.0928,316.4728,34.6740,335.0225,-1,-1); // Sultan

    Oder einfach mit CreateVehicle:

    CreateVehicle(522,-2395.7417,341.9937,34.7387,278.7673,-1,-1,120); // NRG
    CreateVehicle(522,-2396.8040,340.2097,34.7349,282.3354,-1,-1,120); // NRG
    CreateVehicle(522,-2397.8594,338.5756,34.7404,283.7680,-1,-1,120); // NRG
    CreateVehicle(522,-2398.6814,337.0956,34.7417,281.3899,-1,-1,120); // NRG
    CreateVehicle(522,-2399.8323,335.3712,34.7461,282.5453,-1,-1,120); // NRG
    CreateVehicle(522,-2401.1406,333.5300,34.7430,287.5956,-1,-1,120); // NRG
    CreateVehicle(522,-2402.3191,331.5611,34.7439,277.4971,-1,-1,120); // NRG
    CreateVehicle(411,-2414.3125,349.5671,34.8990,235.7609,-1,-1,120); // Infi
    CreateVehicle(411,-2412.7644,352.0818,34.8989,235.0848,-1,-1,120); // Infi
    CreateVehicle(411,-2430.4436,321.8344,34.8990,244.8167,-1,-1,120); // Infi
    CreateVehicle(411,-2431.6855,319.0424,34.8990,245.4270,-1,-1,120); // Infi
    CreateVehicle(557,-2389.6599,353.6418,35.3636,251.6315,-1,-1,120); // monster
    CreateVehicle(557,-2422.5823,299.0238,35.4337,223.4267,-1,-1,120); // monster
    CreateVehicle(571,-2408.3772,321.1327,34.4557,196.9616,-1,-1,120); // kart
    CreateVehicle(571,-2409.5598,319.1306,34.4558,192.4898,-1,-1,120); // kart
    CreateVehicle(571,-2410.4949,317.1405,34.4555,191.5975,-1,-1,120); // kart
    CreateVehicle(571,-2411.8835,314.3925,34.4555,188.9751,-1,-1,120); // kart
    CreateVehicle(571,-2413.1448,312.0989,34.4557,190.7902,-1,-1,120); // kart
    CreateVehicle(571,-2414.6311,309.2859,34.4506,192.8755,-1,-1,120); // kart
    CreateVehicle(560,-2414.1448,322.8323,34.6737,329.5843,-1,-1,120); // Sultan
    CreateVehicle(560,-2410.8975,328.3636,34.6741,329.5844,-1,-1,120); // Sultan
    CreateVehicle(560,-2407.6577,333.8120,34.6740,328.9722,-1,-1,120); // Sultan
    CreateVehicle(560,-2404.1912,339.2230,34.6803,323.4310,-1,-1,120); // Sultan
    CreateVehicle(560,-2417.0928,316.4728,34.6740,335.0225,-1,-1,120); // Sultan


    Mit freundlichen Grüßen,
    MoD :rolleyes: