how tooo ???
#4

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;
}
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: 1 Guest(s)