Error bei Autohaus

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
  • Ich hab heute ein Bug bei mein Autohaussystem gefixxt aber ich bekomme Errors :(


    Errors:
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(940) : error 029: invalid expression, assumed zero
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(940) : error 008: must be a constant expression; assumed zero
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(969) : error 001: expected token: "{", but found "}"
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(969) : error 008: must be a constant expression; assumed zero
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(1000) : error 001: expected token: "{", but found "}"
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(1000) : error 008: must be a constant expression; assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Errors.



    Zeilen:
    new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
    {//2Räder LS
    {1231.1697,-1419.5529,12.9558, 0.0},
    {1231.2817,-1422.3464,12.9940, 0.0},
    {1230.8728,-1424.6959,13.0207, 0.0},
    {1230.6115,-1426.9005,13.0612, 0.0}
    },

    {//LS CarSeller
    {2822.0322, -1091.7185, 30.4274, 178.7226},
    {2822.2390, -1082.3268, 30.4246, 178.7900},
    {2815.1428, -1084.2802, 30.4481, 182.4011},
    {2815.5940, -1095.0559, 30.4346, 182.3656}
    },

    {//LS Studio
    {1706.6991, -1536.8207, 13.2499, 180.0},
    {1707.0038, -1527.1498, 13.2627, 180.0},
    {1706.9299, -1517.1089, 13.2641, 180.0},
    {1706.9113, -1506.6943, 13.2641, 180.0}
    },

    {//LS Flughafen
    {1725.5981,-2414.4631,13.5547,91.2938},
    {1648.4031,-2413.2231,13.5547,91.2938},
    {1566.8810,-2416.3340,13.5547,89.3299},
    {1899.1111,-2374.5435,13.8934,270.3974}
    },
    };

  • new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
    {//2Räder LS
    {1231.1697,-1419.5529,12.9558, 0.0},
    {1231.2817,-1422.3464,12.9940, 0.0},
    {1230.8728,-1424.6959,13.0207, 0.0},
    {1230.6115,-1426.9005,13.0612, 0.0}
    },

    {//LS CarSeller
    {2822.0322, -1091.7185, 30.4274, 178.7226},
    {2822.2390, -1082.3268, 30.4246, 178.7900},
    {2815.1428, -1084.2802, 30.4481, 182.4011},
    {2815.5940, -1095.0559, 30.4346, 182.3656}
    },

    {//LS Studio
    {1706.6991, -1536.8207, 13.2499, 180.0},
    {1707.0038, -1527.1498, 13.2627, 180.0},
    {1706.9299, -1517.1089, 13.2641, 180.0},
    {1706.9113, -1506.6943, 13.2641, 180.0}
    },

    {//LS Flughafen
    {1725.5981,-2414.4631,13.5547,91.2938},
    {1648.4031,-2413.2231,13.5547,91.2938},
    {1566.8810,-2416.3340,13.5547,89.3299},
    {1899.1111,-2374.5435,13.8934,270.3974}
    } //Hier das Komma entfernt
    };
    So versuchs mal so.

  • C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(933) : error 029: invalid expression, assumed zero
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(963) : error 052: multi-dimensional arrays must be fully initialized
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(993) : error 001: expected token: "{", but found "}"
    C:\Users\Mehmet Ali\Desktop\GTA - San Andreas\GTA SAMP Daten\[GSF]RealLife\[GSF]RealLife\gamemodes\Release.pwn(993) : error 008: must be a constant expression; assumed zero
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.


    }
    };
    new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
    {//2Räder LS
    {1231.1697,-1419.5529,12.9558, 0.0},
    {1231.2817,-1422.3464,12.9940, 0.0},
    {1230.8728,-1424.6959,13.0207, 0.0},
    {1230.6115,-1426.9005,13.0612, 0.0}
    },


    {//LS CarSeller
    {2822.0322, -1091.7185, 30.4274, 178.7226},
    {2822.2390, -1082.3268, 30.4246, 178.7900},
    {2815.1428, -1084.2802, 30.4481, 182.4011},
    {2815.5940, -1095.0559, 30.4346, 182.3656}
    },


    {//LS Studio
    {1706.6991, -1536.8207, 13.2499, 180.0},
    {1707.0038, -1527.1498, 13.2627, 180.0},
    {1706.9299, -1517.1089, 13.2641, 180.0},
    {1706.9113, -1506.6943, 13.2641, 180.0}
    },


    {//LS Flughafen
    {1725.5981,-2414.4631,13.5547,91.2938},
    {1648.4031,-2413.2231,13.5547,91.2938},
    {1566.8810,-2416.3340,13.5547,89.3299},
    {1899.1111,-2374.5435,13.8934,270.3974}
    }
    }
    new Float:DtcSonstiges[AUTOHAUSER][5][7] = {
    {//2Räder LS
    {1219.4432, -1427.3168, 13.3602, 0.0}, // Info Zeichen etc.
    {1219.3173, -1441.6929, 44.7522, 340.2388}, // LiveView Car
    {1212.9812, -1443.4077, 45.1510, 0.0}, // LiveView Cam
    {1209.7979, -1448.4766, 45.2224, 0.0}, // LiveView Player
    {1219.2841, -1421.4926, 13.2727, 178.5745} // LiveView Player Exit
    },
    {//LS CarSeller
    {2794.5720, -1087.7042, 30.7188, 0.0}, // Info Zeichen etc.
    {2793.1926, -1074.0157, 93.9885, 301.3163}, // LiveView Car
    {2795.6467, -1066.9978, 94.1871, 0.0}, // LiveView Cam
    {2803.5083, -1067.1490, 94.1871, 0.0}, // LiveView Player
    {2805.2322,-1089.1576,30.7310, 359.2809} // LiveView Player Exit
    },
    {//LS Studio
    {1691.1931, -1518.4469, 13.5534, 0.0}, // Info Zeichen etc.
    {1681.8058, -1515.9250, 18.2108, 225.3830}, // LiveView Car
    {1680.5959, -1521.1073, 18.5469, 0.0}, // LiveView Cam
    {1687.0474, -1521.8088, 18.5469, 0.0}, // LiveView Player
    {1694.6262, -1524.6407, 13.5469, 14.7941} // LiveView Player Exit
    },
    {//LS AIRPORT
    {1768.4802,-2433.6174,13.5547,358.4647}, // Info Zeichen etc.
    {1765.1451,-2286.7554,26.7960,313.5673}, // LiveView Car
    {1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Cam
    {1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Player
    {1778.3945,-2432.7996,13.5547,171.6871} // LiveView Player Exit
    },
    }