error 010: invalid function or declaration

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
  • Habe ein Problem ich habe dort eine Zeile hinzugefügt aufeinmal funktioniert aber die Klammer nicht mehr? Wäre nett wenn mir jemand helfen könnte bitte hier die Fehlermeldung:
    WSR-red.pwn(288) : error 010: invalid function or declaration
    WSR-red.pwn(318) : error 029: invalid expression, assumed zero


    }:
    new FightSystem[][fsSyS]={
    /*MinX, MinY, MaxX, MaxY, CTFx, CTFy, CTFz*/
    {000.000,0000.000,0000.000,0000.000,0000.0000,0000.0000,00.0000},//Buggy
    {-2088.9458,-532.3585,-1965.5702,-382.0397,-1983.7494,-444.8340,35.5313}, //SF Arena
    {676.5954,-490.0226,607.0063,-524.7145,644.6561,-508.7549,16.3359}, // SF Wiese
    {1837.2869,903.1341,2088.0474,1103.9895,1919.7776,959.9452,10.8127}, // LV Yakuza Base
    {-2893.8174,956.2431,-2760.2988,1222.7493,-2809.0103,1122.7926,27.6267}, // SF Grove Base
    {-1492.2708,1475.2144,-1350.4564,1512.2463,-1427.2002,1490.0538,1.8672}, // SF Schiff
    {1572.7634,2278.0273,1757.2994,2468.3767,1678.2568,2324.7856,10.8203}, // LV Atzen Base
    {2087.3757,1543.2823,2254.1089,1762.4280,2186.8025,1677.4979,11.1021}, // Caligulas
    {2776.6995,832.5859,2895.2883,1023.5746,2840.2642,895.6821,10.7578}, // LV Russen Mafia Base
    {-2727.3235,1278.6088,-2591.9536,1516.8918,-2681.6560,1452.6188,7.1016}, // SF Triaden Base
    {-2249.5095,1161.8661,-1939.3207,1280.7017,-2041.4363,1228.0529,31.6484}, // SF FRAKCLOSED Base
    {-2221.0610,-302.7112,-2097.1848,-60.5263,-2125.9497,-116.6717,35.3203}, // SF Midtown Gangster Base
    {-1947.3695,-234.5912,-1789.0054,-106.3781,-1854.4110,-169.6717,9.2374}, // SF Vagos Base
    {-2620.6331,2235.6255,-2304.0010,2425.6331,-2506.4849,2350.2966,4.9812}, // SF Bayside
    {-2797.9143,-472.2318,-2612.7520,-215.7242,-2732.7781,-252.1944,7.1875}, // SF LCN Base
    {2557.1006,2242.7070,2674.0891,2401.8411,2587.8979,2273.3271,11.0625}, // LV Hells Angels
    {1577.7524,884.0784,1756.5917,1122.5474,1706.1200,950.0363,10.8203}, // LV Lagerhalle
    {-348.9913,2560.2524,-122.9380,2819.0947,-228.3549,2724.6582,62.6875}, // LV Alte Stadt
    {-898.5199,1382.9486,-710.6438,1632.7438,-782.5552,1557.0411,27.1172}, // LV Staudamm
    {676.5954,-490.0226,607.0063,-524.7145,644.6561,-508.7549,16.3359}, // SF Ballas Base
    {-887.5186,1377.989,-583.8938,1634.903,-813.6335,1525.2080,26.5065}, //Wüste
    {768.137390,-1576.537475,1024.137451,-1416.537475,839.1980,-1556.1569,17.4190}, //Markt
    /*
    {2732.717285, -1494.878051, 2876.717285, -1382.878051,2858.3506,-1440.5481,29.2115},//Hafen
    {-1891.4263,857.8361,-1722.0261,1095.5897,-1720.0752,1018.2902,17.5859},//Bank
    {1828.318,-1938.465,2071.699,-1760.817,1958.6156,-1853.2424,4.3392},//Tanke
    {1713.545776, -1464.224243, 1841.545776, -1264.224243,1826.0887,-1298.3030,125.7266}//Airport(LS)*/
    }:

  • Hier:


    };new FightSystem[][fsSyS]={
    /*MinX, MinY, MaxX, MaxY, CTFx, CTFy, CTFz*/
    {000.000,0000.000,0000.000,0000.000,0000.0000,0000.0000,00.0000},//Buggy
    {-2088.9458,-532.3585,-1965.5702,-382.0397,-1983.7494,-444.8340,35.5313}, //SF Arena
    {676.5954,-490.0226,607.0063,-524.7145,644.6561,-508.7549,16.3359}, // SF Wiese
    {1837.2869,903.1341,2088.0474,1103.9895,1919.7776,959.9452,10.8127}, // LV Yakuza Base
    {-2893.8174,956.2431,-2760.2988,1222.7493,-2809.0103,1122.7926,27.6267}, // SF Grove Base
    {-1492.2708,1475.2144,-1350.4564,1512.2463,-1427.2002,1490.0538,1.8672}, // SF Schiff
    {1572.7634,2278.0273,1757.2994,2468.3767,1678.2568,2324.7856,10.8203}, // LV Atzen Base
    {2087.3757,1543.2823,2254.1089,1762.4280,2186.8025,1677.4979,11.1021}, // Caligulas
    {2776.6995,832.5859,2895.2883,1023.5746,2840.2642,895.6821,10.7578}, // LV Russen Mafia Base
    {-2727.3235,1278.6088,-2591.9536,1516.8918,-2681.6560,1452.6188,7.1016}, // SF Triaden Base
    {-2249.5095,1161.8661,-1939.3207,1280.7017,-2041.4363,1228.0529,31.6484}, // SF FRAKCLOSED Base
    {-2221.0610,-302.7112,-2097.1848,-60.5263,-2125.9497,-116.6717,35.3203}, // SF Midtown Gangster Base
    {-1947.3695,-234.5912,-1789.0054,-106.3781,-1854.4110,-169.6717,9.2374}, // SF Vagos Base
    {-2620.6331,2235.6255,-2304.0010,2425.6331,-2506.4849,2350.2966,4.9812}, // SF Bayside
    {-2797.9143,-472.2318,-2612.7520,-215.7242,-2732.7781,-252.1944,7.1875}, // SF LCN Base
    {2557.1006,2242.7070,2674.0891,2401.8411,2587.8979,2273.3271,11.0625}, // LV Hells Angels
    {1577.7524,884.0784,1756.5917,1122.5474,1706.1200,950.0363,10.8203}, // LV Lagerhalle
    {-348.9913,2560.2524,-122.9380,2819.0947,-228.3549,2724.6582,62.6875}, // LV Alte Stadt
    {-898.5199,1382.9486,-710.6438,1632.7438,-782.5552,1557.0411,27.1172}, // LV Staudamm
    {676.5954,-490.0226,607.0063,-524.7145,644.6561,-508.7549,16.3359}, // SF Ballas Base
    {-887.5186,1377.989,-583.8938,1634.903,-813.6335,1525.2080,26.5065}, //Wüste
    {768.137390,-1576.537475,1024.137451,-1416.537475,839.1980,-1556.1569,17.4190} //Markt
    /*
    {2732.717285, -1494.878051, 2876.717285, -1382.878051,2858.3506,-1440.5481,29.2115},//Hafen
    {-1891.4263,857.8361,-1722.0261,1095.5897,-1720.0752,1018.2902,17.5859},//Bank
    {1828.318,-1938.465,2071.699,-1760.817,1958.6156,-1853.2424,4.3392},//Tanke
    {1713.545776, -1464.224243, 1841.545776, -1264.224243,1826.0887,-1298.3030,125.7266}//Airport(LS)*/
    };



    Soo müsste es funktionieren.. Du hast ein ( ; ) zu viel und ein Komma gemacht, so es nicht hin darf :)

    ~~ Motorradfahrer aus Leidenschaft :love: ~~


    ~~ Supermoto ~~