Catching ban events
lo all
I've been using amx_bans on my server and ive realised its causing quite a bad intermittent lag...so its had to come off :/ I'm thinking about writting a bit of custom code just to add anyone banned to a more simplistic mysql db and then use that info to display a list of bans on my website. My question is pretty simple, can i write an adjoining plugin that will catch the same events as admincmd to write the ban details to the DB at the same time as writing them to banned.cfg So could i write a plugin that would catch "amx_ban", "amx_banip", "amx_addban", as below in admincmd and use my code to write the details to a DB. Code:
or would it just be easier to alter the existing admincmd to insert code to write to a DB ?? Thanks Damo. |
Would probably best if you just edit admincmd
|
kk thx ;)
|
| All times are GMT -4. The time now is 19:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.