rcon login problem
#1

im trying to make it so when you try to login it just says "wrong password" but it says SERVER: bad admin password etc

anyway to fix it?


heres the code

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(!success)
    {
        new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            {
                SendClientMessage(i, 0xFFFFFFFF, "Wrong Password.");
                return 1;
            }
        }
    }
	return 1;
}
and a picture of the text

Reply


Messages In This Thread
rcon login problem - by CrazyBlob - 23.05.2011, 19:05
Re: rcon login problem - by Sascha - 23.05.2011, 19:24
Re: rcon login problem - by CrazyBlob - 23.05.2011, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)