Quote:
Originally Posted by ZASTRELIS
Was tried, and it works. Thanks..
Code:
if(CheckCommandAccess(i, "access_ADMIN", ADMFLAG_ROOT, true))
I'm not fully understood why ADMFLAG_ROOT everytime for different access level
|
Like I said in previous post:
- Don't give to person admin flag "z", or otherwise he get all admin flags (abcdefghijklmnopqrst)
- Use "z" flag as restrict commands and access, example from admin_overrides.cfg, "sm_ban" "z"
- Use
admin group, to override specific command or access to group users. "sm_ban" "allow"