Auto 1 day ban to Sourcebans on leaving server
I want a plugin which automatically bans the client on leaving the server. It should be compatible with pugsetup by splewis or any other pug plugin. Players have to do .r / !ready or something similar after which they will get a 1 day cooldown (Sourcebans integration) from accessing the servers in case they disconnect mid game.
|
Re: Auto 1 day ban to Sourcebans on leaving server
|
Re: Auto 1 day ban to Sourcebans on leaving server
Why not just?
Code:
#include <sourcemod> |
Re: Auto 1 day ban to Sourcebans on leaving server
Quote:
|
Re: Auto 1 day ban to Sourcebans on leaving server
Quote:
EDIT: You should also add return Plugin_Handled to the command's callback to register the command in the game's engine. |
Re: Auto 1 day ban to Sourcebans on leaving server
Change:
PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.