C:\Users\Administrator\Desktop\Server_pRP\gamemodes\GeTmyselfmade.pwn(4485) : error 018: initialization data exceeds declared size Fehler Beim Compilen error

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 , BreadFish´s Ich bekomme beim Compilen den pRP Scripts Diesen Error wie kann ich diesen beheben??


    C:\Users\Administrator\Desktop\Server_pRP\gamemodes\GeTmyselfmade.pwn(4485) : warning 228: length of initialler exceeds size of the enum field
    C:\Users\Administrator\Desktop\Server_pRP\gamemodes\GeTmyselfmade.pwn(4485) : error 018: initialization data exceeds declared size
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error


    new Werbetafelobject[MAX_WERBETAFELN];
    new InfoTafeln[9][InfoTafelInfo] =
    {
    //Float:itafelx,Float:itafely,Float:itafelz,Float:itafelxrot,Float:itafelyrot,Float:itafelzrot,itafel1text[64],itafel1tmindex,itafel1tmsize,itafel1tfonts[32],itafel1tfontsize,itafel1tbold,itafel1tfontcolor[16],itafel1tbackcolor[16],itafel1taligment,itafel2text[64],itafel2tmindex,itafel2tmsize,itafel2tfonts[32],itafel2tfontsize,itafel2tbold,itafel2tfontcolor[16],itafel2tbackcolor[16],itafel2taligment,
    //itafel3text[64],itafel3tmindex,itafel3tmsize,itafel3tfonts[32],itafel3tfontsize,itafel3tbold,itafel3tfontcolor[16],itafel3tbackcolor[16],itafel3taligment,itafel4text[64],itafel4tmindex,itafel4tmsize,itafel4tfonts[32],itafel4tfontsize,itafel4tbold,itafel4tfontcolor[16],itafel4tbackcolor[16],itafel4taligment,itafel5text[64],itafel5tmindex,itafel5tmsize,itafel5tfonts[32],itafel5tfontsize,itafel5tbold,itafel5tfontcolor[16],itafel5tbackcolor[16],itafel5taligment
    {789.92,-1312.86,16.18,0.00,0.00,45.00,"Herzlich",5,120,"Arial",50,1,-1,-16777216,1,"Willkommen",4,120,"Arial",40,1,-1,-16777216,1,"auf",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERFARBE""#SERVERNAME"",2,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",1,120,"Arial",50,1,-1,-16777216,1},
    {1171.06,-871.20,49.99,0.00,0.00,-45.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1361.04,-1018.94,29.43,0.00,0.00,0.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1811.5196,-1622.2359,14.8919,0.00,0.00,144.0482,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1479.4411,-1794.4844,16.4419,0.00,0.00,179.4481,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {383.0843,-2078.9709,10.1559,0.00,0.00,-179.5509,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1108.3337,-1301.8652,16.1642,0.00,0.00,1.2547,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1614.9188,-1248.3789,19.8072,0.00,0.00,135.8282,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1632.1575,-859.1402,60.1496,0.00,0.00,-28.1897,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1}
    };


    Von irgenswo da Kommt der error.

  • Du mein Lieber änderst bitte mal deinen Titel, dass tut sich keiner Freiwillig an.

    "Imagine if the government went after corruption as hard as it goes after guys who run filesharing sites. Priorities. " - @Snowden
    "More worrying than FBI temporarily running a server that contained child porn, is hacking computers anywhere in the world with one warrant" - @josephfcox

  • Weil das zusammen gehört:
    new InfoTafeln[9][InfoTafelInfo] =
    {
    //Float:itafelx,Float:itafely,Float:itafelz,Float:itafelxrot,Float:itafelyrot,Float:itafelzrot,itafel1text[64],itafel1tmindex,itafel1tmsize,itafel1tfonts[32],itafel1tfontsize,itafel1tbold,itafel1tfontcolor[16],itafel1tbackcolor[16],itafel1taligment,itafel2text[64],itafel2tmindex,itafel2tmsize,itafel2tfonts[32],itafel2tfontsize,itafel2tbold,itafel2tfontcolor[16],itafel2tbackcolor[16],itafel2taligment,
    //itafel3text[64],itafel3tmindex,itafel3tmsize,itafel3tfonts[32],itafel3tfontsize,itafel3tbold,itafel3tfontcolor[16],itafel3tbackcolor[16],itafel3taligment,itafel4text[64],itafel4tmindex,itafel4tmsize,itafel4tfonts[32],itafel4tfontsize,itafel4tbold,itafel4tfontcolor[16],itafel4tbackcolor[16],itafel4taligment,itafel5text[64],itafel5tmindex,itafel5tmsize,itafel5tfonts[32],itafel5tfontsize,itafel5tbold,itafel5tfontcolor[16],itafel5tbackcolor[16],itafel5taligment
    {789.92,-1312.86,16.18,0.00,0.00,45.00,"Herzlich",5,120,"Arial",50,1,-1,-16777216,1,"Willkommen",4,120,"Arial",40,1,-1,-16777216,1,"auf",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERFARBE""#SERVERNAME"",2,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",1,120,"Arial",50,1,-1,-16777216,1},
    {1171.06,-871.20,49.99,0.00,0.00,-45.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1361.04,-1018.94,29.43,0.00,0.00,0.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1811.5196,-1622.2359,14.8919,0.00,0.00,144.0482,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1479.4411,-1794.4844,16.4419,0.00,0.00,179.4481,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {383.0843,-2078.9709,10.1559,0.00,0.00,-179.5509,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1108.3337,-1301.8652,16.1642,0.00,0.00,1.2547,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1614.9188,-1248.3789,19.8072,0.00,0.00,135.8282,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1632.1575,-859.1402,60.1496,0.00,0.00,-28.1897,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1}
    };

    "Imagine if the government went after corruption as hard as it goes after guys who run filesharing sites. Priorities. " - @Snowden
    "More worrying than FBI temporarily running a server that contained child porn, is hacking computers anywhere in the world with one warrant" - @josephfcox

  • enum InfoTafelInfo{
    Float:itafelx,
    Float:itafely,
    Float:itafelz,
    Float:itafelxrot,
    Float:itafelyrot,
    Float:itafelzrot,
    itafeltext[5][64],
    itafelindex[5],
    itafelsize[5],
    itafelfonts[5][32],
    itafelfontsize[5],
    itafelbold[5],
    itafelfontcolor[5],
    itafelbackcolor[5],
    itafelaligment[5]
    };


    new InfoTafeln[9][InfoTafelInfo] = {
    {789.92,-1312.86,16.18,0.00,0.00,45.00,"Herzlich",5,120,"Arial",50,1,-1,-16777216,1,"Willkommen",4,120,"Arial",40,1,-1,-16777216,1,"auf",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERFARBE""#SERVERNAME"",2,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",1,120,"Arial",50,1,-1,-16777216,1},
    {1171.06,-871.20,49.99,0.00,0.00,-45.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1361.04,-1018.94,29.43,0.00,0.00,0.00,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1811.5196,-1622.2359,14.8919,0.00,0.00,144.0482,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1479.4411,-1794.4844,16.4419,0.00,0.00,179.4481,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {383.0843,-2078.9709,10.1559,0.00,0.00,-179.5509,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1108.3337,-1301.8652,16.1642,0.00,0.00,1.2547,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1614.9188,-1248.3789,19.8072,0.00,0.00,135.8282,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1},
    {1632.1575,-859.1402,60.1496,0.00,0.00,-28.1897,SERVERNAME,5,120,"Arial",50,1,-1,-16777216,1,""#HTML_WHITE"FORUM:"#HTML_RED" "#WEBURL1"",4,120,"Arial",40,1,-1,-16777216,1,""#HTML_WHITE"TS:"#HTML_GOLDENYELLOW" "#TSIP2"",3,120,"Arial",50,1,-1,-16777216,1,""#SERVERVERSION"",2,120,"Arial",50,1,-1,-16777216,1," ",1,120,"Arial",50,1,-1,-16777216,1}
    };