26.09.2010, 20:56
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;
}