Jump to content

DISSCONECT REASON PLUGIN


Recommended Posts

Description

This plugin notifies players via chat and console the reason that a player has disconnected (ie. Timed out, Client sent 'drop', Kicked). The standard console message notifying of a player disconnect will not be shown when the plugin is enabled. I've also eliminated the cvars found in the previous release that controlled notification types and notification methods; all types of disconnects are displayed in both chat and console. There is also a forward which allows you to utilize disconnect reasons in your own plugins 'client_disconnect_reason( id , drCode , szReason[] )', see below example. The forward remains active regardless of the dr_enabled cvar value which will only control chat\console message. Made by request.

687474703a2f2f696d672e70686f746f6275636b65742e636f6d2f616c62756d732f763239332f767465636f726f6e612f636f6e736f6c652e6a7067

instalation :

 

File Type: zip [signature]SV_DropClient.zip (346 Bytes, 3474 views)
File Type: sma Get Plugin or Get Source (disconnect_reason.sma - 3025 views - 2.8 KB)
Link to comment
Share on other sites

  • 1 month later...

thanks for sharing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Chatbox

Chatbox

    You don't have permission to chat.
    ×
    ×
    • Create New...

    Important Information

    By using this site, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. , Terms of Use & Privacy Policy

    adblock.png

    Refresh page