help me to disable the standard admin script
#1

In server.cfg prescribed "rcon 0", but it does not help to shut down =(
Written in the fashion your admin script, so I do not need rkon.
Reply
#2

With this script no one can using the rcon, anyone who will put the right password will automatically kicked or banned :
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success) 
    {
        for(new i=0; i<MAX_PLAYERS; i++)
        {
        SendClientMessage(i, 0xFFFFFFFF, "RCON Disabled!"); 
        Kick(i); //or Ban(i);
        }
    }
    return 1;
}
Reply
#3

Your code only kicks the player when the password is incorrect. If it's correct someone can still log on, but he wants to disable it.
Reply
#4

I need to completely disable the RCON =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)