Fix for 'You are banned from this server.' bug [!!!]
#6

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
This is awesome! Frustrating beyond belief, having to reconnect, is. Wish there was an OnPlayerLoadingScreen callback lol..
The fixes2 plugin (click) allows you to read messages sent to the server console. You can use it to reload the bans when someone connects to the server (incoming connection).

Example:
pawn Код:
public OnServerMessage(const msg[])
{
    if(strfind(msg, "Incoming connection: ", false) > -1) {
        SendRconCommand("reloadbans");
    }
}
Untested
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)