I don't know how fix this!
#7

Add bracket }

pawn Код:
}else if(dialogid == LOGIN_DIALOG_PASSWORD) {
        if(!response) return Kick(playerid);
        if(!strlen(inputtext)) return SetupPlayerForLogin(playerid);
        new str[64];
        format(str, sizeof(str), "/Korisnici/%s.ini", pName(playerid));
        if(udb_hash(inputtext) != dini_Int(str, "password")) {
            SetPVarInt(playerid, "login_fail", GetPVarInt(playerid, "login_fail")+1);
            if(GetPVarInt(playerid, "login_fail") == MAX_LOGIN_FAILS) return Kick(playerid);
            SetupPlayerForLogin(playerid);
        }else{
            LoginPlayer(playerid);
            return 1; } // <-- here is missing second }
Reply


Messages In This Thread
I don't know how fix this! - by MikkiMapper - 09.12.2014, 20:55
Re: I don't know how fix this! - by BlackWolf120 - 09.12.2014, 21:03
Re: I don't know how fix this! - by MikkiMapper - 09.12.2014, 21:14
Re: I don't know how fix this! - by BlackWolf120 - 09.12.2014, 21:16
Re: I don't know how fix this! - by MikkiMapper - 09.12.2014, 21:18
Re: I don't know how fix this! - by MikkiMapper - 09.12.2014, 21:20
Re: I don't know how fix this! - by Jefff - 09.12.2014, 21:30
Re: I don't know how fix this! - by MikkiMapper - 09.12.2014, 21:35
Re: I don't know how fix this! - by MikkiMapper - 09.12.2014, 21:41

Forum Jump:


Users browsing this thread: 1 Guest(s)