Raised This Month: $ Target: $400
 0% 

Problem with changing flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rawrzar
Junior Member
Join Date: Feb 2008
Old 02-18-2008 , 13:53   Problem with changing flags
Reply With Quote #1

hello everyone,

I changed most of the flags in the .sma files. most of them worked, but a couple didn't..here is a list of them:

badaim
gag
ungag
givemoney
takemoney
glow
quit


Code:
    
register_concmd("amx_gag","admin_gag",ADMIN_LEVEL_A,"<nick, #userid or authid> <a|b|c> <time> - Flags: a = Normal Chat | b = Team Chat | c = Voicecomm") 

register_concmd("amx_ungag","admin_ungag",ADMIN_LEVEL_A,"<nick, #userid or authid>") 

register_concmd("amx_givemoney","admin_givemoney",ADMIN_LEVEL_A,"<nick, #userid or authid> <amount> - gives specified player money")

register_concmd("amx_takemoney","admin_takemoney",ADMIN_LEVEL_A,"<nick, #userid or authid> <amount> - takes specified player money")

register_concmd("amx_glow", "cmd_glow",ADMIN_LEVEL_A,"<nick, #userid, authid, or @team/@all> <color> (or) <rrr> <ggg> <bbb> <aaa> -- lasts 1 round")

register_concmd("amx_glow2", "cmd_glow",ADMIN_LEVEL_A,"<nick, #userid, authid, or @team/@all> <color> (or)  <rrr> <ggg> <bbb> <aaa> -- lasts forever")

register_concmd("amx_glowcolors", "cmd_glowcolors",ADMIN_LEVEL_A,"shows a list of colors for amx_glow and amx_glow2")

register_concmd("amx_quit","admin_quit",ADMIN_LEVEL_B,"<nick, #userid, authid or @team>")
They are all flagged for admin level a or b, but someone with access flags of "ceij" has access to those commands..am i doing anything wrong?
rawrzar is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-18-2008 , 14:13   Re: Problem with changing flags
Reply With Quote #2

Did you read This?
__________________
bmann_420 is offline
rawrzar
Junior Member
Join Date: Feb 2008
Old 02-18-2008 , 16:49   Re: Problem with changing flags
Reply With Quote #3

yep i already did waht that thread told me to do..all of the other commands that i didnt list worked..i changed them all to admin_level_a, and only admins with the admin_level_a flag gets it..the ones i listed, i changed to admin_level_a and people with flags "ceij" gets it
rawrzar is offline
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 02-18-2008 , 17:12   Re: Problem with changing flags
Reply With Quote #4

Can you upload your .sma file I can fix it up for you. Upload the one that was not working, so I can just edit the ones above.
__________________
chris is offline
Send a message via AIM to chris
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-18-2008 , 17:28   Re: Problem with changing flags
Reply With Quote #5

I dont see why it wouldnt work. I would have to check the sma and read the check flag function, but it should be the same.
__________________

Last edited by bmann_420; 02-18-2008 at 17:34.
bmann_420 is offline
rawrzar
Junior Member
Join Date: Feb 2008
Old 02-18-2008 , 21:50   Re: Problem with changing flags
Reply With Quote #6

here is the .sma file..thanks guys
Attached Files
File Type: sma Get Plugin or Get Source (amx_super.sma - 804 views - 157.0 KB)
rawrzar is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 03-01-2008 , 22:58   Re: Problem with changing flags
Reply With Quote #7

I see it compiles, but your saying people with those flags dont have that acces or people with other flags but those have access?
__________________
bmann_420 is offline
rawrzar
Junior Member
Join Date: Feb 2008
Old 03-01-2008 , 23:04   Re: Problem with changing flags
Reply With Quote #8

People with other flags have the access..I changed most of the flags, but the people with the flags in the default .sma file has the commands.

For example, in the default .sma file, ADMIN_KICK has the "amx_gag" command, and I changed it to ADMIN_LEVEL_A, but the people with ADMIN_LEVEL_A doesnt have it, and the people with ADMIN_KICK does have it..its like this with every command, not just the one i listed..here's the .sma file from amx_super 3.8.1
Attached Files
File Type: sma Get Plugin or Get Source (amx_super.sma - 849 views - 164.3 KB)
rawrzar is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-01-2008 , 23:05   Re: Problem with changing flags
Reply With Quote #9

Your issue lies with the cmdaccess.ini file. It would be best to change the access levels in there since that isn't updated if the plugin is
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
rawrzar
Junior Member
Join Date: Feb 2008
Old 03-01-2008 , 23:41   Re: Problem with changing flags
Reply With Quote #10

it worked yamikaitou...thank you very much
rawrzar is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode