Thread: AntiCommerce
View Single Post
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 10-26-2008 , 10:34   Re: AntiCommerce
Reply With Quote #3

Is it what you meant 'support for amxbans'?

Replace
Code:
                server_cmd("banid %d #%d kick",bantime,uid);
with
Code:
            if(is_plugin_loaded("amx_bans.amxx"))
                server_cmd("amx_ban #%d %d %L",uid,bantime, id,"WORD_ADVERT"); 
            else 
                server_cmd("banid %d #%d kick",bantime,uid);
Edit.
Now I know it`s not working, so don`t copy this.

Last edited by Scherzo; 11-06-2008 at 10:40.
Scherzo is offline