[Help]Erors.
#1

C:\Users\Edin\Desktop\Begine Carolije\gamemodes\bc.pwn(685) : error 030: compound statement not closed at the end of file (started at line 649)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


I made login and register system for my server and when i compile shows me this eror(i put him to the top),here are case DIALOG_LOGIN where shows me an eror:


Код:
    case DIALOG_LOGIN:
	  {
    if(!response) return Kick(playerid);
    if(response)
	{
        new strText[2048], naslov2[128];
        if(strlen(inputtext) >= 4 && strlen(inputtext) <= 35) {
            new uFile[35];
            format(uFile, 35, USER_PATH, PlayerName(playerid));
            INI_ParseFile(uFile, "LoadUserData", .bExtra = true, .extra = playerid);
            if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) {
                new coordsstring[128];
                for(new i = 0; i < 50; i++) {
                    SCM(playerid, Crna, "");
                }
                format(coordsstring, sizeof(coordsstring), "*Dobrodosao %s na server,lijepo te opet vidjeti na serveru!",PlayerName(playerid));
                SCM(playerid, 0x33CCFFAA,coordsstring);
                SCM(playerid, ZUTA, RandomPoslovice[random(sizeof(RandomPoslovice))]);
                format(coordsstring,sizeof coordsstring,"~n~~n~~n~~n~~n~~n~~w~Dobrodosao~n~~r~%s!",PlayerName(playerid));
                GameTextForPlayer(playerid, coordsstring, 6000, 3);
                SetPlayerColor(playerid,Bijela);
                format(coordsstring,sizeof coordsstring,"(( *Igrac %s se prikljucio na server. ))",PlayerName(playerid));
                SCMTA(SIVA,coordsstring);
            } else {
                format(naslov2, sizeof(naslov2), "{0095FF}Pogresna Lozinka!", PlayerName(playerid));
                format(strText, sizeof(strText), "{0095FF}________________________________________________\n\n{FFFFFF}Dobrodosao na Broovske Carolije server!\n\n\n{0095FF}%s\n{FFFFFF}Tvoj korisnicki racun je pronaden\n\n\nMolimo upisi svoju lozinku da udjes na server:\n\n{0095FF}________________________________________________", PlayerName(playerid));
                ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, naslov2, strText, "Logiraj", "Odustani");
                SCM(playerid,0xF81414,"Pogresna lozinka! Mozda je Caps-Lock ukljucen!");
                PlayerInfo[playerid][pLogiran] = 0;
            }
        } else {
            format(naslov2, sizeof(naslov2), "{0095FF}Dobrodosao{FFFFFF} %s!", PlayerName(playerid));
            format(strText, 179, "{FFFFFF}______________________________\n\n{0095FF}Ime{FFFFFF} %s{0095FF} je registrirano!\n\n{F81414}Upisao si prekratku lozinku!", PlayerName(playerid));
            ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, naslov2, strText, "Logiraj", "Odustani");
            PlayerInfo[playerid][pLogiran] = 0;
        }
        return 1;
        }
Thanks.
Reply


Messages In This Thread
[Help]Erors. - by ADZAA - 05.01.2014, 12:02
Re: [Help]Erors. - by Sawalha - 05.01.2014, 12:12
Re: [Help]Erors. - by ADZAA - 05.01.2014, 12:20
Re: [Help]Erors. - by Sawalha - 05.01.2014, 12:56
Re: [Help]Erors. - by ADZAA - 05.01.2014, 13:01

Forum Jump:


Users browsing this thread: 1 Guest(s)