Es werden nur 4 Autos erstellt? :O

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
  • Wieso werden hier nur je die ersten 2 Autos erstellt?
    (Nur die markierten)


    ocmd:test(playerid,params[])
    {
    CreateVehicle(411,-4076.2434,-1839.7129,14.0055,270.0126,0,0,-1); // INFERNUS Map 1 xXxXxXxXxXxXxXxXxXxXxXxXx
    CreateVehicle(411,-4076.2434,-1834.5667,14.0055,270.1320,0,0,-1); // INFERNUS Map 1 xXxXxXxXxXxXxXxXxXxXxXxXx
    CreateVehicle(411,-4076.2434,1834.4205,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1834.2743,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1834.9819,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.8357,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.6895,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.5433,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.3971,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.2509,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1833.1047,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.9585,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.8123,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.6661,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.5199,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.3737,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.2275,14.0055,270.0735,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4076.2434,1832.0813,14.0055,270.0735,0,0,-1); // INFERNUS Map 1


    CreateVehicle(411,-4042.3279,-1839.7129,14.0055,90.0126,0,0,-1); // INFERNUS Map 1 xXxXxXxXxXxXxXxXxXxXxXxXx
    CreateVehicle(411,-4042.3279,-1834.5667,14.0055,90.0126,0,0,-1); // INFERNUS Map 1 xXxXxXxXxXxXxXxXxXxXxXxXx
    CreateVehicle(411,-4042.3279,1834.4205,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1834.2743,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1834.9819,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.8357,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.6895,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.5433,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.3971,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.2509,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1833.1047,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.9585,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.8123,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.6661,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.5199,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.3737,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.2275,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    CreateVehicle(411,-4042.3279,1832.0813,14.0055,90.0126,0,0,-1); // INFERNUS Map 1
    return 1;
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Lass die Cars doch via OnGameModeInit erstellen




    500 BEITRÄGE!!!!!


    Habe ich ja :O


    AddStaticVehicle(411,-4076.2434,-1839.7129,14.0055,270.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,-1834.5667,14.0055,270.1320,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1834.4205,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1834.2743,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1834.9819,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.8357,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.6895,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.5433,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.3971,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.2509,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1833.1047,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.9585,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.8123,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.6661,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.5199,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.3737,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.2275,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1832.0813,14.0055,270.0735,0,0); // INFERNUS Map 1

    AddStaticVehicle(411,-4042.3279,-1839.7129,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,-1834.5667,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1834.4205,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1834.2743,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1834.9819,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.8357,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.6895,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.5433,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.3971,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.2509,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1833.1047,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.9585,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.8123,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.6661,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.5199,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.3737,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.2275,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1832.0813,14.0055,90.0126,0,0); // INFERNUS Map 1


    Der Befehl war nur als Test, wie man vllt am Namen erkennt :whistling:
    Serverlog sagt 0 vehicles, weil ich es per Filterscript lade.

  • Hmm habs nun geändert, aber macht kein Unterschied ;S


    Spoiler anzeigen
    AddStaticVehicle(411,-4076.2434,-1839.7129,14.0055,270.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,-1839.5667,14.0055,270.1320,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1839.4205,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1839.2743,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.9819,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.8357,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.6895,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.5433,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.3971,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.2509,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1838.1047,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.9585,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.8123,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.6661,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.5199,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.3737,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.2275,14.0055,270.0735,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4076.2434,1837.0813,14.0055,270.0735,0,0); // INFERNUS Map 1

    AddStaticVehicle(411,-4042.3279,-1839.7129,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,-1839.5667,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1839.4205,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1839.2743,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.9819,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.8357,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.6895,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.5433,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.3971,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.2509,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1838.1047,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.9585,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.8123,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.6661,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.5199,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.3737,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.2275,14.0055,90.0126,0,0); // INFERNUS Map 1
    AddStaticVehicle(411,-4042.3279,1837.0813,14.0055,90.0126,0,0); // INFERNUS Map 1

  • Du hast bei der Y-Koordinate immer noch nur jeweils ersten beiden im negativen Bereich. Die anderen alle im positiven. Das würde schon Sinn machen, dass da der Fehler liegt.


    Mein CS:GO Server: 62.75.168.39:27016


    Ich bin so hungrig, dass ich vor lauter Durst nicht weiß, was ich rauchen soll - so müde bin ich!
    Freedom is just another word for 'Nothing left to lose'

  • Wenn du die Cars bei Ongamemodeinit erstellst,kann es daran liegen:
    Wie man auf deinem Screen sieht spawnen die Fahrzeuge auf gemappten Objekten.
    Fallen die Fahrzeuge vielleicht durch die Objekte weil die Objekte zu spät geladen wurden?