2Errors

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 ich hab hier 2 Errors undzwar weiß ich auchschohn damit das ein Klammerfehler ist xD
    aber irgendwie bekomm ich den nicht weg -.-



    new FactionBuylist[][fBuylist] = {
    {405,311.5587,-1809.4019,4.3394,0.4307,150000}, // Sentinal
    {411,314.7912,-1809.7482,4.1969,0.6235,150000}, // Infernus
    {412,317.9757,-1809.7987,4.3057,359.7154,150000}, // Voodoo
    {415,321.2232,-1809.7538,4.2428,358.6720,150000}, // Cheetah
    {429,327.7953,-1809.6830,4.1553,358.6708,150000}, // Banshee
    {439,330.9087,-1809.8531,4.3694,0.3104,150000},// Stallion
    {445,334.1863,-1809.9110,4.3532,359.8896,150000}, // Admiral
    {451,337.3522,-1810.0112,4.1961,359.9379,150000}, // Turismo
    {475,346.8968,-1809.8660,4.3106,1.0387,150000}, // Sabre
    {477,350.3359,-1809.8031,4.2649,358.7115,150000}, // ZR-350
    {479,353.4312,-1809.7145,4.3135,358.5456,150000}, // Regina
    {480,356.7751,-1809.7437,4.2925,359.1791,150000},// Comet
    {506,311.6965,-1789.0367,4.2775,179.3222,150000},// Super GT
    {522,315.0852,-1787.9764,4.2041,180.3209,150000}, // NRG
    {541,318.1741,-1788.7317,4.3038,179.2764,150000},// Bullet
    {559,321.4809,-1788.6581,4.3889,179.6865,150000}, // Jester
    {562,324.7844,-1788.7953,4.4454,179.5516,150000}, // Elegy
    {561,328.0639,-1789.1740,4.6501,179.3546,150000}, // Stratum
    {565,331.4161,-1788.7366,4.5075,181.2386,150000}, // Flash
    {587,334.3581,-1789.3591,4.6165,179.8554,150000}, // Euros
    {589,337.6046,-1788.9492,4.5795,180.8319,150000}, // Club
    {560,324.5808,-1810.1571,4.1698,359.8678,150000}, // Sultan
    {487,309.9238,-1800.4260,4.6735,181.1788,150000}, // Maverik
    {409,343.8858,-1810.9453,4.2739,1.1358,150000}, // Limosine
    {424,340.5490,-1809.1488,4.3026,358.8973,150000}, // sandbagy
    {471,341.0051,-1789.6141,4.4146,178.6803,150000}, // Quat
    {503,344.6822,-1789.1135,4.9119,180.2177,150000}, // Hotring
    {535,348.9961,-1788.8429,4.8694,180.8574,150000}, // Salvan
    {545,354.0073,-1788.7369,5.0298,180.4517,150000}, // Hustler
    {573,306.0138,-1788.2163,5.1467,178.8928,150000}, // Dune

    }; <<<Error


    new Float:FactionBuySpawn[4]={356.7656,-1794.3485,4.9582,273.9034};
    enum fCar{
    fCarid,
    fVehid,
    Float:fPos[4],
    fCol[2],
    fFaction[5],
    fTuning[14],
    fPrice,
    #if defined FACTION_CARS_LOCKABLE
    bool:fLock
    #endif
    };






    C:\Users\Maximilian\Desktop\N\gamemodes\Releasetest.pwn(281) : error 029: invalid expression, assumed zero
    C:\Users\Maximilian\Desktop\N\gamemodes\Releasetest.pwn(281) : error 008: must be a constant expression; assumed zero

  • du hast am ende ein , darf net sein ;)


    new FactionBuylist[][fBuylist] = {
    {405,311.5587,-1809.4019,4.3394,0.4307,150000}, // Sentinal
    {411,314.7912,-1809.7482,4.1969,0.6235,150000}, // Infernus
    {412,317.9757,-1809.7987,4.3057,359.7154,150000}, // Voodoo
    {415,321.2232,-1809.7538,4.2428,358.6720,150000}, // Cheetah
    {429,327.7953,-1809.6830,4.1553,358.6708,150000}, // Banshee
    {439,330.9087,-1809.8531,4.3694,0.3104,150000},// Stallion
    {445,334.1863,-1809.9110,4.3532,359.8896,150000}, // Admiral
    {451,337.3522,-1810.0112,4.1961,359.9379,150000}, // Turismo
    {475,346.8968,-1809.8660,4.3106,1.0387,150000}, // Sabre
    {477,350.3359,-1809.8031,4.2649,358.7115,150000}, // ZR-350
    {479,353.4312,-1809.7145,4.3135,358.5456,150000}, // Regina
    {480,356.7751,-1809.7437,4.2925,359.1791,150000},// Comet
    {506,311.6965,-1789.0367,4.2775,179.3222,150000},// Super GT
    {522,315.0852,-1787.9764,4.2041,180.3209,150000}, // NRG
    {541,318.1741,-1788.7317,4.3038,179.2764,150000},// Bullet
    {559,321.4809,-1788.6581,4.3889,179.6865,150000}, // Jester
    {562,324.7844,-1788.7953,4.4454,179.5516,150000}, // Elegy
    {561,328.0639,-1789.1740,4.6501,179.3546,150000}, // Stratum
    {565,331.4161,-1788.7366,4.5075,181.2386,150000}, // Flash
    {587,334.3581,-1789.3591,4.6165,179.8554,150000}, // Euros
    {589,337.6046,-1788.9492,4.5795,180.8319,150000}, // Club
    {560,324.5808,-1810.1571,4.1698,359.8678,150000}, // Sultan
    {487,309.9238,-1800.4260,4.6735,181.1788,150000}, // Maverik
    {409,343.8858,-1810.9453,4.2739,1.1358,150000}, // Limosine
    {424,340.5490,-1809.1488,4.3026,358.8973,150000}, // sandbagy
    {471,341.0051,-1789.6141,4.4146,178.6803,150000}, // Quat
    {503,344.6822,-1789.1135,4.9119,180.2177,150000}, // Hotring
    {535,348.9961,-1788.8429,4.8694,180.8574,150000}, // Salvan
    {545,354.0073,-1788.7369,5.0298,180.4517,150000}, // Hustler
    {573,306.0138,-1788.2163,5.1467,178.8928,150000}//am ende kein ,

    };