how tooo ???
#6

Hmm, you might be able to do it through OnRconCommand

pawn Код:
//global
#define MAX_RCON_LOGINS your_limit_here

static
    g_AdminsOnline;
pawn Код:
public OnRconCommand(cmd[])
{
    if( !strcmp( cmd, "login your_rcon_password_here" ))
    {
        if( g_AdminsOnline == MAX_RCON_LOGINS )
        {
            print("rcon login not successful - too many admins online");
            return false;
        }
        g_AdminsOnline++;
        return true;
    }
    return false;
}
Reply


Messages In This Thread
how tooo ??? - by martynas - 26.09.2010, 19:15
Re: how tooo ??? - by Conroy - 26.09.2010, 19:54
Re: how tooo ??? - by martynas - 26.09.2010, 20:28
Re: how tooo ??? - by Conroy - 26.09.2010, 20:36
Re: how tooo ??? - by Guest3598475934857938411 - 26.09.2010, 20:49
Re: how tooo ??? - by LarzI - 26.09.2010, 20:56
Re: how tooo ??? - by DarrenReeder - 26.09.2010, 20:57
Re: how tooo ??? - by Guest3598475934857938411 - 09.10.2010, 15:26

Forum Jump:


Users browsing this thread: 2 Guest(s)