View Single Post
jsauce
Senior Member
Join Date: Aug 2004
Location: Fitchburg, MA USA
Old 08-21-2005 , 01:14  
Reply With Quote #8

If a person with the flag q but not d attempts the command amx_ban whoever 99999 what happens? At the very least the user should receive a message saying, "You have insufficient access to use this command." in the console. If you're not even getting that then there is something wrong. If that's the case try changing the line:

register_concmd("amx_ban","cmdBan",ADMIN_ADMI N,"<name or #userid> <minutes> [reason]")

to

register_concmd("amx_ban","cmdBan",ADMIN_ALL, "<name or #userid> <minutes> [reason]")

Which will let everyone have access to it but because I have it checking flag by flag, if the user doesn't have either d or q then you will get that message.
__________________
"Those people who think they know everything are a great annoyance to those of us who do." -- Isaac Asimov

The Saucy Blog
jsauce is offline
Send a message via ICQ to jsauce Send a message via AIM to jsauce Send a message via MSN to jsauce