Fraktions Cars einfügen funkt nicht :(

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
  • Also ich möchte gesavte Cars für die Aztecas einfügen, aber wenn ich sie einfügen will kommen nur Errors und Warnings.. was tun?


    Error:
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11919) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11920) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11921) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11922) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11923) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11924) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11925) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11926) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11927) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11928) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11929) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11930) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11931) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11932) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11933) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11934) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11935) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11936) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11937) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11938) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11939) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11940) : warning 202: number of arguments does not match definition
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(11941) : error 032: array index out of bounds (variable "AztecasVehs")
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(17312) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\Users\Richard\Desktop\Server\gamemodes\Release.pwn(17320) : warning 219: local variable "string" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.



    Cars :
    AztecasVehs[0] = AddStaticVehicleEx(411,1836.7917,-2105.2576,13.2749,91.0362,2,2); // Infernus1
    AztecasVehs[1] = AddStaticVehicleEx(411,1836.3574,-2097.1997,13.2740,90.8513,2,2); // Infernus2
    AztecasVehs[2] = AddStaticVehicleEx(411,1836.3856,-2101.3669,13.2740,90.0534,2,2); // Infernus3
    AztecasVehs[3] = AddStaticVehicleEx(409,1817.3289,-2097.9343,13.2602,178.5571,2,2); // Limo1
    AztecasVehs[4] = AddStaticVehicleEx(421,1791.6045,-2150.4294,13.5451,0.6310,2,2); // Washington1
    AztecasVehs[5] = AddStaticVehicleEx(421,1794.7456,-2150.5371,13.4894,1.4748,2,2); // Washington2
    AztecasVehs[6] = AddStaticVehicleEx(426,1810.7592,-2118.4946,13.2079,270.4582,2,2); // Premier1
    AztecasVehs[7] = AddStaticVehicleEx(426,1810.9956,-2107.0615,13.2045,270.1542,2,2); // Premier2
    AztecasVehs[8] = AddStaticVehicleEx(466,1799.9392,-2107.1389,13.2022,269.2164,2,2); // Glendale1
    AztecasVehs[9] = AddStaticVehicleEx(466,1799.6469,-2118.4341,13.2057,270.6264,2,2); // Glendale2
    AztecasVehs[10] = AddStaticVehicleEx(480,1828.6515,-2111.0857,13.2357,359.1773,2,2); // Comet1
    AztecasVehs[11] = AddStaticVehicleEx(480,1828.7311,-2120.2246,13.2230,359.2400,2,2); // Comet2
    AztecasVehs[12] = AddStaticVehicleEx(507,1817.1738,-2085.6355,13.2836,178.9936,93,93); // Elegant1
    AztecasVehs[13] = AddStaticVehicleEx(535,1828.7512,-2091.1089,13.2257,359.8478,2,2); // Slamvan1
    AztecasVehs[14] = AddStaticVehicleEx(535,1828.7804,-2075.5811,13.2246,0.9299,2,2); // Slamvan2
    AztecasVehs[15] = AddStaticVehicleEx(546,1817.2183,-2060.1746,13.1906,180.1765,2,2); // Intruder1
    AztecasVehs[16] = AddStaticVehicleEx(546,1828.8687,-2065.1035,13.1859,0.4692,2,2); // Intruder2
    AztecasVehs[17] = AddStaticVehicleEx(522,1803.6376,-2138.2170,13.1188,89.5284,2,2); // nrg1
    AztecasVehs[18] = AddStaticVehicleEx(522,1803.3331,-2140.6755,13.1128,88.5725,2,2); // nrg2
    AztecasVehs[19] = AddStaticVehicleEx(522,1799.5686,-2139.4688,13.1162,88.5337,2,2); // nrg3
    AztecasVehs[20] = AddStaticVehicleEx(522,1797.1642,-2146.1980,13.1110,1.3891,2,2); // nrg4
    AztecasVehs[21] = AddStaticVehicleEx(575,1794.9027,-2131.5691,13.1498,0.5949,2,2); // Broadway
    AztecasVehs[22] = AddStaticVehicleEx(487,1792.6388,-2128.5278,17.7173,359.6844,2,2); // Maverick


    Hoffe auf Schnelle Antwort...


    Mfg

    Mit unfreundlichen Grüßen
    Buschmensch

  • Dir fehlt beim adden der Fahrzeuge der letzte Parameter. Unzwar die Respawn Time.


    Du musst die Variable AztecasVehs auch dort erhöhen wo du sie erstellst (auf 23).


    Das mit dem string benennst du einfach um.



    Maddin is my Lord and Master :D
    Musel my one and only b0wm
    Bisafloah is the pokemon that pwns a lot of goddamn ponys.

  • Füg einfach das ein hinten nach der Farbe die ,-1 das ist der Timer ^^
    AztecasVehs[0] = AddStaticVehicleEx(411,1836.7917,-2105.2576,13.2749,91.0362,2,2,-1); // Infernus1
    AztecasVehs[1] = AddStaticVehicleEx(411,1836.3574,-2097.1997,13.2740,90.8513,2,2,-1); // Infernus2
    AztecasVehs[2] = AddStaticVehicleEx(411,1836.3856,-2101.3669,13.2740,90.0534,2,2,-1); // Infernus3
    AztecasVehs[3] = AddStaticVehicleEx(409,1817.3289,-2097.9343,13.2602,178.5571,2,2,-1); // Limo1
    AztecasVehs[4] = AddStaticVehicleEx(421,1791.6045,-2150.4294,13.5451,0.6310,2,2,-1); // Washington1
    AztecasVehs[5] = AddStaticVehicleEx(421,1794.7456,-2150.5371,13.4894,1.4748,2,2,-1); // Washington2
    AztecasVehs[6] = AddStaticVehicleEx(426,1810.7592,-2118.4946,13.2079,270.4582,2,2,-1); // Premier1
    AztecasVehs[7] = AddStaticVehicleEx(426,1810.9956,-2107.0615,13.2045,270.1542,2,2,-1); // Premier2
    AztecasVehs[8] = AddStaticVehicleEx(466,1799.9392,-2107.1389,13.2022,269.2164,2,2,-1); // Glendale1
    AztecasVehs[9] = AddStaticVehicleEx(466,1799.6469,-2118.4341,13.2057,270.6264,2,2,-1); // Glendale2
    AztecasVehs[10] = AddStaticVehicleEx(480,1828.6515,-2111.0857,13.2357,359.1773,2,2,-1); // Comet1
    AztecasVehs[11] = AddStaticVehicleEx(480,1828.7311,-2120.2246,13.2230,359.2400,2,2,-1); // Comet2
    AztecasVehs[12] = AddStaticVehicleEx(507,1817.1738,-2085.6355,13.2836,178.9936,93,93,-1); // Elegant1
    AztecasVehs[13] = AddStaticVehicleEx(535,1828.7512,-2091.1089,13.2257,359.8478,2,2,-1); // Slamvan1
    AztecasVehs[14] = AddStaticVehicleEx(535,1828.7804,-2075.5811,13.2246,0.9299,2,2,-1); // Slamvan2
    AztecasVehs[15] = AddStaticVehicleEx(546,1817.2183,-2060.1746,13.1906,180.1765,2,2,-1); // Intruder1
    AztecasVehs[16] = AddStaticVehicleEx(546,1828.8687,-2065.1035,13.1859,0.4692,2,2,-1); // Intruder2
    AztecasVehs[17] = AddStaticVehicleEx(522,1803.6376,-2138.2170,13.1188,89.5284,2,2,-1); // nrg1
    AztecasVehs[18] = AddStaticVehicleEx(522,1803.3331,-2140.6755,13.1128,88.5725,2,2,-1); // nrg2
    AztecasVehs[19] = AddStaticVehicleEx(522,1799.5686,-2139.4688,13.1162,88.5337,2,2,-1); // nrg3
    AztecasVehs[20] = AddStaticVehicleEx(522,1797.1642,-2146.1980,13.1110,1.3891,2,2,-1); // nrg4
    AztecasVehs[21] = AddStaticVehicleEx(575,1794.9027,-2131.5691,13.1498,0.5949,2,2,-1); // Broadway
    AztecasVehs[22] = AddStaticVehicleEx(487,1792.6388,-2128.5278,17.7173,359.6844,2,2,-1); // Maverick