help (dyaloglogin)
#8

pawn Код:
else
{
    PlayerInfo[playerid][FailLogin]++;
    SendClientMessage(playerid,red,"ACCOUNT: Login failed! Incorrect Password");
    printf("LOGIN: %s has failed to login, Wrong password (%s) Attempt (%d)", PlayerName2(playerid), inputtext, PlayerInfo[playerid][FailLogin] );
   
    if(PlayerInfo[playerid][FailLogin] == MAX_FAIL_LOGINS)
    {
        format(string, sizeof(string), "%s has been kicked (Failed Logins)", PlayerName2(playerid) );
        SendClientMessageToAll(grey, string);
        print(string);  
        Kick(playerid);
    }
    else
    {
        ShowPlayerDialog(playerid, 9048, DIALOG_STYLE_INPUT, "{FF0000}Login", dialogstr, "Login", "Cancel");
    }
}
Reply


Messages In This Thread
help (dyaloglogin) - by s3ek - 08.02.2015, 22:28
Re: help (dyaloglogin) - by Sime30 - 08.02.2015, 22:56
Re: help (dyaloglogin) - by s3ek - 08.02.2015, 23:11
Re: help (dyaloglogin) - by Sime30 - 08.02.2015, 23:30
Re: help (dyaloglogin) - by s3ek - 09.02.2015, 00:20
Re: help (dyaloglogin) - by Schneider - 09.02.2015, 00:37
Re: help (dyaloglogin) - by s3ek - 09.02.2015, 00:41
Re: help (dyaloglogin) - by Schneider - 09.02.2015, 01:02
Re: help (dyaloglogin) - by s3ek - 09.02.2015, 01:18
Re: help (dyaloglogin) - by Schneider - 09.02.2015, 02:31

Forum Jump:


Users browsing this thread: 1 Guest(s)