Ban players if disconnect
So im searching for a plugin which bans people for disconnecting but they have 5 minutes to return.
If they return in 5 minutes no ban, if they return after 5 minutes ban! If mapchange was made within those five minutes, ban! Simple cvars. Ban_leavers 1 Ban_time 60 No_ban_return_time 5 It would also be cool if when a player disconnects a message is shown, player 1 left - he got 5 minutes to return of he will be banned for 60 minutes. |
Re: Ban if no return in 5 minutes.
Damn! Bugsy was helping you in your other thread, there's no reason to start a new one.
|
Re: Ban if no return in 5 minutes.
1 Attachment(s)
Not thoroughly tested. Use the attached CellTravTrie include as the original one has a warning when compiled due to the author not tagging a variable as a bool in TravTrieGetArrayEx().
Edit: Removed disconnect reason code. PHP Code:
|
Re: Ban if no return in 5 minutes.
Looks grate, want to test it but cant compile. Yes i downloaded celltravtrie.inc and placed it in include folder.
Quote:
|
Re: Ban if no return in 5 minutes.
You're not using the latest AMX-X dev build. Add this:
PHP Code:
|
Re: Ban if no return in 5 minutes.
Quote:
|
Re: Ban if no return in 5 minutes.
Quote:
|
Re: Ban if no return in 5 minutes.
Well i downloaded lastest beta AMXX the compile went good.
But i cant install latest beta on the server. Using 1.8.2 now. When i write in commands amx_plugins ban_leave.amxx it ses error bad load, is it cause the server doesnt have latest beta amxx? Will this help me to run the plugin on amxx 1.8.2? Quote:
|
Re: Ban if no return in 5 minutes.
I added the line to the above code, try it.
|
Re: Ban if no return in 5 minutes.
|
All times are GMT -4. The time now is 10:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.