Well, here is yet ANOTHER AMXX Bans plugin.
Code:
/*
(_____ \ (____ \
_____) ) ____ ____ ___ ____) ) ____ ____ ___
(_____ ( / _ ) \ / _ \ | __ ( / _ | _ \ /___)
| ( (/ /| | | | |_| | | |__) | ( | | | | |___ |
|_|\____)_|_|_|\___/ |______/ \_||_|_| |_(___/
___ ___ ____ ______
| | | |_ | | __ |
| | | _| |_ __|__ |
\_____/ |______|__|______|
- Remo Williams
Based off of AMXX Bans by YoMama, solely because:
there were SOOOOO MANY BUGS......(and I was bored >_>)
___________________________________________________________________
|
|>| Version History
|>| -->| June 10, 2006
|>| ---->| Version 1.9 Released.
|__________________________________________________________________
*/
Requirements:
Code:
- SQL Database
- An IQ > 10
- Patched admincmd.AMXX
Control Variables: (place in amxx.cfg)
Code:
- remo_bans_host "localhost"
- remo_bans_user "root"
- remo_bans_pass ""
- remo_bans_db "amx"
- remo_bans_table "banned"
Commands: (Privs: Ban=ADMIN_BAN / TBLINSTALL = ADMIN_IMMUNITY)
Code:
- amx_ban <user/steamid> <time> <reason>
- amx_ban_tableinstall <0-Check if exists/1-Install if doesn't exist>
Basically a fully functional SQL based ban system which works flawlessly.
The code isn't super clean, but it works in ever way.