fatal error 107: too many error messages on one line
#1

Why do i get these errors?


Errors:
pawn Код:
C:\Users\Mikkel\Desktop\gf_oct16_2015.pwn(6289 -- 6301) : error 075: input line too long (after substitutions)
C:\Users\Mikkel\Desktop\gf_oct16_2015.pwn(6302) : error 017: undefined symbol "Level"
C:\Users\Mikkel\Desktop\gf_oct16_2015.pwn(6302) : error 029: invalid expression, assumed zero
C:\Users\Mikkel\Desktop\gf_oct16_2015.pwn(6302) : error 017: undefined symbol "tDescription"
C:\Users\Mikkel\Desktop\gf_oct16_2015.pwn(6302) : fatal error 107: too many error messages on one line
Code
pawn Код:
case 55:
        {
            ShowPlayerDialog(playerid, 55, DIALOG_STYLE_TABLIST_HEADERS, "House Purchase - Interior Setup",
            "Level\tDescription\tPrice\n\
            House Level 1\tSingle Room\t$50000\n\
            House Level 2\tMotel Room\t$75000\n\
            House Level 3\tApartment Room\t$100000\n\
            House Level 4\tMiss Maintained House\t$150000\n\
            House Level 5\tSmall House\t$200000\n\
            House Level 6\tWood House\t$250000\n\
            House Level 7\tStripclub\t$300000\n\
            House Level 8\tMedium House\t$350000\n\
            House Level 9\tEasier Reconditioned\t$400000\n\
            House Level 10\tOlder House\t$450000\n\
            House Level 11\tDesigner Apartment\t$500000\n\
            House Level 12\t5 Room House\t$550000\n\
            House Level 13\tDesigner House\t$600000\n\
            House Level 14\tSpectacular Villa\t$650000\n\
            House Level 15\tSpectacular Villa 2\t$700000"
,
            "Select", "Cancel");
        }
Reply
#2

pawn Код:
case 55:
{
    static str[512 char]; // Increase the size if it does not show the whole text
    if(!str{0})
    {
        str = !"Level\tDescription\tPrice\n\
            House Level 1\tSingle Room\t$50000\n\
            House Level 2\tMotel Room\t$75000\n\
            House Level 3\tApartment Room\t$100000\n\
            House Level 4\tMiss Maintained House\t$150000\n\
            House Level 5\tSmall House\t$200000\n\
            House Level 6\tWood House\t$250000\n\
            House Level 7\tStripclub\t$300000\n"
;

        strcat(str, !"House Level 8\tMedium House\t$350000\n\
        House Level 9\tEasier Reconditioned\t$400000\n\
        House Level 10\tOlder House\t$450000\n\
        House Level 11\tDesigner Apartment\t$500000\n\
        House Level 12\t5 Room House\t$550000\n\
        House Level 13\tDesigner House\t$600000\n\
        House Level 14\tSpectacular Villa\t$650000\n\
        House Level 15\tSpectacular Villa 2\t$700000"
);
    }
    ShowPlayerDialog(playerid, 55, DIALOG_STYLE_TABLIST_HEADERS, "House Purchase - Interior Setup",str,"Select", "Cancel");
}
Reply
#3

Thanks it Works now! Rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)