Help! Admin Immunity
#1

Hi, I have LuxAdmin v1.5, then i connect to server it kick's me becouse of High Ping, what i need to do that it couldn't kick me? It have to kick player's except Admin's or VIP's!
Reply
#2

if(IsPlayerWhatever){
return 0;
}

Reply
#3

where should i add it and to what should i change Whatever?
Reply
#4

I decided to take a look into the LuXAdministration system. This should work. Add this to the PingKick timer:

pawn Код:
if(IsPlayerLuxAdminLevel(playerid, 1) || IsPlayerVipMember(playerid))  return 1;
It should look like this:

pawn Код:
public PingKick()
{
        if(ServerInfo[MaxPing] != 0)
        {
            PingPos++; if(PingPos > PING_MAX_EXCEEDS) PingPos = 0;
            for(new i=0; i<MAX_PLAYERS; i++)
            {
                         if(IsPlayerLuxAdminLevel(playerid, 1) || IsPlayerVipMember(playerid))  continue;
                          // The rest of the LuxAdmin code.
            }
        }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)