Errors beim car Spawnen

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
  • hi,
    Ich habe ein kleine Prob.
    Ich wollte meine Fahrschulcars machen.
    Ich habe alles schön definiert.
    Hier mein errors:[hide]C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn(11314) : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : warning 202: number of arguments does not match definition
    C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn() : error 032: array index out of bounds (variable "FahrschulVehs")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.
    [/hide]


    Hier die Zeilen:
    FahrschulVehs[1] = AddStaticVehicleEx(405,1171.7955322266,1340.0306396484,10.812517166138,90,3,-1); //vehicle (Sentinel) (1)
    FahrschulVehs[2] = AddStaticVehicleEx(405,1171.7955322266,1336.0306396484,10.812517166138,90,3,-1); //vehicle (Sentinel) (2)
    FahrschulVehs[3] = AddStaticVehicleEx(405,1171.7955322266,1332.0306396484,10.812517166138,90,3,-1); //vehicle (Sentinel) (3)
    FahrschulVehs[4] = AddStaticVehicleEx(405,1171.7955322266,1328.0306396484,10.812517166138,90,3,-1); //vehicle (Sentinel) (4)
    FahrschulVehs[5] = AddStaticVehicleEx(521,1171.7955322266,1323,10.480690002441,90,3,-1); //vehicle (FCR-900) (1)
    FahrschulVehs[6] = AddStaticVehicleEx(521,1171.7955322266,1321,10.480690002441,90,3,-1); //vehicle (FCR-900) (2)
    FahrschulVehs[8] = AddStaticVehicleEx(521,1171.7955322266,1325,10.480690002441,90,3,-1); //vehicle (FCR-900) (3)
    FahrschulVehs[9] = AddStaticVehicleEx(521,1171.7955322266,1319,10.480690002441,90,3,-1); //vehicle (FCR-900) (4)
    FahrschulVehs[10] = AddStaticVehicleEx(403,1171.7955322266,1315,11.520312309265,90,3,-3); //vehicle (Linerunner) (1)
    FahrschulVehs[11] = AddStaticVehicleEx(403,1171.7955322266,1309,11.520312309265,90,3,-3); //vehicle (Linerunner) (2)
    FahrschulVehs[12] = AddStaticVehicleEx(403,1171.7955322266,1303,11.520312309265,90,3,-3); //vehicle (Linerunner) (3)
    FahrschulVehs[13] = AddStaticVehicleEx(403,1171.7955322266,1297,11.520312309265,90,3,-3); //vehicle (Linerunner) (4)
    FahrschulVehs[14] = AddStaticVehicleEx(468,1156.3739013672,1357.6267089844,10.580312728882,0,3,-1); //vehicle (Sanchez) (1)
    FahrschulVehs[15] = AddStaticVehicleEx(468,1156.3739013672,1353.6267089844,10.580312728882,0,3,-1); //vehicle (Sanchez) (2)
    FahrschulVehs[16] = AddStaticVehicleEx(468,1156.3739013672,1348.6267089844,10.580312728882,0,3,-1); //vehicle (Sanchez) (3)
    FahrschulVehs[17] = AddStaticVehicleEx(511,350.53442382813,2538.0812988281,18.25306892395,180,3,-3); //vehicle (Beagle) (1)
    FahrschulVehs[18] = AddStaticVehicleEx(511,373.53442382813,2538.0812988281,18.077669143677,180,3,-3); //vehicle (Beagle) (2)
    FahrschulVehs[19] = AddStaticVehicleEx(435,1162.5313720703,1239.3087158203,10.67031288147,0,0,0); //vehicle (Trailier 2) (2)
    FahrschulVehs[20] = AddStaticVehicleEx(435,1170.3760986328,1239.3087158203,10.67031288147,0,0,0); //vehicle (Trailer 2) (1)


    Bei meine andern Fraktionen sieht das so aus:
    NewsVehs[1] = AddStaticVehicleEx(582,-2022.6147,458.6725,35.2197,0.7136,114,118,-1); // News Van
    NewsVehs[2] = AddStaticVehicleEx(582,-2031.3778,459.0091,35.2193,359.7428,119,101,-1); // News Van
    NewsVehs[3] = AddStaticVehicleEx(582,-2051.1619,468.9261,35.2461,272.0926,49,1,-1); // News Van
    NewsVehs[4] = AddStaticVehicleEx(582,-2054.4758,484.3845,35.2465,177.5636,49,11,-1); // News Van
    NewsVehs[5] = AddStaticVehicleEx(582,-2046.6628,495.0150,35.2565,265.0093,49,11,-1); // News Van
    NewsVehs[6] = AddStaticVehicleEx(488,-2044.1793,479.9963,35.3498,180.0648,2,26,-1); // News Heli


    Ich finde den Fehler nicht.
    Und kann mir einer einen Streamer für den bfx_streamer geben.
    mfg lolli



    //edit Habe die errors selber raus bekommen.
    Habe jez nurnoch 1:
    [hide]C:\Users\Sven\Desktop\samp 0.3cr3\gamemodes\omg.pwn(egal :D) : error 032: array index out of bounds (variable "FahrschulVehs")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.
    [/hide]



    Der code:
    FahrschulVehs[19] = AddStaticVehicleEx(435,1162.5313720703,1239.3087158203,10.67031288147,0,0,0,-1); //vehicle (Trailier 2) (2)
    FahrschulVehs[20] = AddStaticVehicleEx(435,1170.3760986328,1239.3087158203,10.67031288147,0,0,0,-1); //Zeile egal

    RifaVehs[1] = AddStaticVehicleEx(475,-2113.2654,-174.3167,35.1240,0.1638,23,32,-1); // //


    Bewerte mich und meine Transaktionen als Mittelsmann

    Einmal editiert, zuletzt von lollipop ()