2 Error keine Ahnung why

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
  • C:\Users\Steinauer\Desktop\NEWRR2.3\gamemodes\sryof - Kopie.pwn(13875) : error 029: invalid expression, assumed zero
    C:\Users\Steinauer\Desktop\NEWRR2.3\gamemodes\sryof - Kopie.pwn(13875) : error 035: argument type mismatch (argument 8)


    Das geänderte:



    BallasVehs[0] = AddStaticVehicle(560,2494.8855,-1985.4196,13.0698,179.1207,126,126); // Sultan001
    BallasVehs[1] = AddStaticVehicle(560,2494.7415,-1994.1490,13.1396,177.8307,126,126); // Sultan002
    BallasVehs[2] = AddStaticVehicle(475,2497.9368,-2032.1924,13.3549,358.8580,126,126); // 001
    BallasVehs[3] = AddStaticVehicle(475,2497.8142,-2024.6254,13.3515,359.7113,126,126); // 002
    BallasVehs[4] = AddStaticVehicle(480,2530.2395,-2005.8392,13.3210,90.4589,126,126); // 003
    BallasVehs[5] = AddStaticVehicle(480,2530.2795,-2009.0374,13.3233,92.0215,126,126); // 004
    BallasVehs[6] = AddStaticVehicle(482,2451.6509,-2032.1169,13.6689,1.5504,126,126); // 005
    BallasVehs[7] = AddStaticVehicle(482,2451.7690,-2023.3826,13.6681,0.5387,126,126); // 006
    BallasVehs[8] = AddStaticVehicle(522,2524.5110,-2015.6152,13.1171,63.0102,126,126); // 007
    BallasVehs[9] = AddStaticVehicle(522,2525.3186,-2014.9375,13.1224,56.3848,126,126); // 008
    BallasVehs[10] = AddStaticVehicle(566,2474.5925,-1987.0067,13.3296,179.9070,126,126); // 009
    BallasVehs[11] = AddStaticVehicle(566,2474.6033,-1994.6401,13.3265,180.3638,126,126); // 010
    BallasVehs[12] = AddStaticVehicleEx(487,2489.9329,-1988.3314,17.3628,179.0242,126,126,); // BallasHeli13




    LSBC[0] = AddStaticVehicle(411,656.1401,-469.9406,16.0630,2.3055,61,61); // Auto001
    LSBC[1] = AddStaticVehicle(560,668.0484,-458.3673,16.0630,89.4929,61,61); // Auto002
    LSBC[2] = AddStaticVehicle(560,667.8657,-461.3718,16.0630,91.2049,61,61); // Auto003
    LSBC[3] = AddStaticVehicle(587,668.0439,-467.4863,16.0740,87.8540,61,61); // Auto004
    LSBC[4] = AddStaticVehicle(587,667.9963,-470.8725,16.0605,90.8930,61,61); // Auto005
    LSBC[5] = AddStaticVehicle(463,695.3060,-473.0571,15.8992,270.4655,61,61); // Motor001
    LSBC[6] = AddStaticVehicle(463,695.0621,-470.3174,15.9007,270.4418,61,61); // Motor002
    LSBC[7] = AddStaticVehicle(463,694.8726,-467.0892,15.9074,271.5092,61,61); // Motor003
    LSBC[8] = AddStaticVehicle(463,694.9708,-463.9632,15.9050,269.9908,61,61); // Motor004
    LSBC[9] = AddStaticVehicle(463,695.0961,-460.5527,15.8956,266.9524,61,61); // Motor005
    LSBC[10] = AddStaticVehicle(522,707.7960,-458.1106,15.8936,87.8874,61,61); // Free01
    LSBC[11] = AddStaticVehicle(522,708.9717,-461.0838,15.8969,87.0549,61,61); // Free02
    LSBC[12] = AddStaticVehicle(522,708.7554,-464.0539,15.9076,93.1604,61,61); // Free03

  • BallasVehs[0] = AddStaticVehicle(560,2494.8855,-1985.4196,13.0698,179.1207,126,126); // Sultan001
    BallasVehs[1] = AddStaticVehicle(560,2494.7415,-1994.1490,13.1396,177.8307,126,126); // Sultan002
    BallasVehs[2] = AddStaticVehicle(475,2497.9368,-2032.1924,13.3549,358.8580,126,126); // 001
    BallasVehs[3] = AddStaticVehicle(475,2497.8142,-2024.6254,13.3515,359.7113,126,126); // 002
    BallasVehs[4] = AddStaticVehicle(480,2530.2395,-2005.8392,13.3210,90.4589,126,126); // 003
    BallasVehs[5] = AddStaticVehicle(480,2530.2795,-2009.0374,13.3233,92.0215,126,126); // 004
    BallasVehs[6] = AddStaticVehicle(482,2451.6509,-2032.1169,13.6689,1.5504,126,126); // 005
    BallasVehs[7] = AddStaticVehicle(482,2451.7690,-2023.3826,13.6681,0.5387,126,126); // 006
    BallasVehs[8] = AddStaticVehicle(522,2524.5110,-2015.6152,13.1171,63.0102,126,126); // 007
    BallasVehs[9] = AddStaticVehicle(522,2525.3186,-2014.9375,13.1224,56.3848,126,126); // 008
    BallasVehs[10] = AddStaticVehicle(566,2474.5925,-1987.0067,13.3296,179.9070,126,126); // 009
    BallasVehs[11] = AddStaticVehicle(566,2474.6033,-1994.6401,13.3265,180.3638,126,126); // 010
    BallasVehs[12] = AddStaticVehicleEx(487,2489.9329,-1988.3314,17.3628,179.0242,126,126); // BallasHeli13




    LSBC[0] = AddStaticVehicle(411,656.1401,-469.9406,16.0630,2.3055,61,61); // Auto001
    LSBC[1] = AddStaticVehicle(560,668.0484,-458.3673,16.0630,89.4929,61,61); // Auto002
    LSBC[2] = AddStaticVehicle(560,667.8657,-461.3718,16.0630,91.2049,61,61); // Auto003
    LSBC[3] = AddStaticVehicle(587,668.0439,-467.4863,16.0740,87.8540,61,61); // Auto004
    LSBC[4] = AddStaticVehicle(587,667.9963,-470.8725,16.0605,90.8930,61,61); // Auto005
    LSBC[5] = AddStaticVehicle(463,695.3060,-473.0571,15.8992,270.4655,61,61); // Motor001
    LSBC[6] = AddStaticVehicle(463,695.0621,-470.3174,15.9007,270.4418,61,61); // Motor002
    LSBC[7] = AddStaticVehicle(463,694.8726,-467.0892,15.9074,271.5092,61,61); // Motor003
    LSBC[8] = AddStaticVehicle(463,694.9708,-463.9632,15.9050,269.9908,61,61); // Motor004
    LSBC[9] = AddStaticVehicle(463,695.0961,-460.5527,15.8956,266.9524,61,61); // Motor005
    LSBC[10] = AddStaticVehicle(522,707.7960,-458.1106,15.8936,87.8874,61,61); // Free01
    LSBC[11] = AddStaticVehicle(522,708.9717,-461.0838,15.8969,87.0549,61,61); // Free02
    LSBC[12] = AddStaticVehicle(522,708.7554,-464.0539,15.9076,93.1604,61,61); // Free03


    So sollte es gehen.