25.07.2010, 18:34
I decided to take a look into the LuXAdministration system. This should work. Add this to the PingKick timer:
It should look like this:
pawn Код:
if(IsPlayerLuxAdminLevel(playerid, 1) || IsPlayerVipMember(playerid)) return 1;
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.
}
}
}