Thread: amxbans 4.0
View Single Post
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 12-05-2004 , 12:29  
#495

How can anyone get this to work without disabling the amx_ban and amx_banip in the standard AMX commands?

I figured out by disabling it, bans are now writing to the database.

Go to admincmd.sma file:

Find these lines:

Code:
register_concmd("amx_ban","cmdBan",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
register_concmd("amx_banip","cmdBanIP",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
Change to:

Code:
//register_concmd("amx_ban","cmdBan",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
//register_concmd("amx_banip","cmdBanIP",ADMIN_BAN,"<name or #userid> <minutes> [reason]")
Then recompile that file.

This should be added to the readme.htm, there's no way it should work if there's two of the same command.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze