09.01.2011, 16:18
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);
}
}