Few problems
#6

You don't save Second with sscanf

pawn Код:
if(sscanf(params, "ud", pid, Second)) return SendClientMessage(playerid, Yellow, "Usage: /ajail <playerid> <time>");
pawn Код:
if(udb_hash(inputtext) != tmp)
        {
            PasswordLogTries[playerid]++;
            if(PasswordLogTries[playerid] < 3)
            {
                ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Login to your account", "Wrong password ! \nEnter your password", "Login", "Quit");
            }
            else
            {
                SendClientMessage(playerid, AdminColor, "Too many incorrect passwords!");
                Kick(playerid);
            }
        }
Reply


Messages In This Thread
Few problems - by xir - 09.01.2011, 11:52
Re: Few problems - by xir - 09.01.2011, 13:07
Re: Few problems - by Mr.Stranger - 09.01.2011, 13:25
Re: Few problems - by xir - 09.01.2011, 15:30
Re: Few problems - by Mike Garber - 09.01.2011, 15:34
Re: Few problems - by MadeMan - 09.01.2011, 16:18
Re: Few problems - by xir - 09.01.2011, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)