26.09.2010, 20:36
I don't actually think it is possible. I tried returning 0 but I doubt it will work. Try it.
pawn Код:
#define MAX_RCONS 2 //2 RCON logins total.
OnRconLoginAttempt(ip[], password[], success)
{
new count;
for(new i; i <= MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && IsPlayerAdmin(i)) {
count++;
}
}
if(count >= MAX_RCONS) return 0;
return 1;
}