SA-MP Forums Archive
missing angle bracket - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: missing angle bracket (/showthread.php?tid=291589)



missing angle bracket - BaubaS - 20.10.2011

pawn Код:
stock ResetPlayerNormalWarn(playerid, id, bool: credit)
{
    switch (pData[id][pNormalWarns])
    {
        case 2: UpdateWarnInfo(playerid, "zIspejimo2Priezastis", "zIspejimo2Data", "Jus neturite sio ispejimo", "Jus neturite sio ispejimo");
        case 1: UpdateWarnInfo(playerid, "zIspejimoPriezastis", "zIspejimoData", "Jus neturite sio ispejimo", "Jus neturite sio ispejimo");
    }
    if (!credit)
    {
        new Stringas[93];
        format(Stringas, 90, "{FFFFFF}Administratorius {33AA33}%s {FFFFFF}Jums nuemė įspėjimą!", GetPlayerNameEx(playerid));
        [>>>>in this line<<<<] ShowPlayerDialog(id, 150, DIALOG_STYLE_MSGBOX, "{FFFFFF}Įspėjimas", Stringas, "Uћdaryti", "");
        format(Stringas, 82, "{FFFFFF}Įspėjimas {33AA33}%s {FFFFFF}sėkmingai nuiimtas!", GetPlayerNameEx(id));
        ShowPlayerDialog(playerid, 151, DIALOG_STYLE_MSGBOX, "{FFFFFF}Įspėjimas", Stringas, "Uћdaryti", "");
        -- pData[id][pNormalWarns];

        format(Stringas, 93, "%s nuemė vieną įspėjimą %s. Dabar turi: %d", GetPlayerNameEx(playerid), GetPlayerNameEx(id), pData[id][pNormalWarns]);
        SaveToLog("Logai/Direktoriai.txt", Stringas);
    }
}
Missing angle brackets finder says that I have missing bracket angle in line 13128.. But there's no { } in that line.


Re: missing angle bracket - nilanjay - 20.10.2011

{FFFFFF}Įspėjimas

remove brackets from here and then try


Re: missing angle bracket - BaubaS - 20.10.2011

lol its hex color


Re: missing angle bracket - BaubaS - 21.10.2011

^^^^


Re: missing angle bracket - jiwan - 21.10.2011

which is line no 13128


Re: missing angle bracket - BaubaS - 21.10.2011

Quote:
Originally Posted by ******
Посмотреть сообщение
"<>" are angle brackets, "{}" are braces. In which case it could have issues with Unicode.
My mistake. But, can you explain it "better"? lol