Access to command only on certain flags
Hi. I would like to make an command accessible only on certain flags
Command amx_test, accesbile just for admins with flags "abcdefg" and "hijklmno" |
Re: Access to command only on certain flags
|
Re: Access to command only on certain flags
just make a flag the plugin has double flags by if get user flag admin_leve_h else admin_level_g ...
|
Re: Access to command only on certain flags
No no no
Look, i have this new const FLAGS[2][]= { "abcdefg",//flags 1 "hijklmno"//flags 2 } In public 1 .... for(new i;i<2;i++) { if(get_user_flags(id)==read_flags(FLAGS[i])) return true } But it does not work, does not read |
Re: Access to command only on certain flags
Quote:
PHP Code:
|
Re: Access to command only on certain flags
Opting in to FlagManager enables the admin privileges to be overwritten
by the end user via the cmdaccess.ini config file. |
Re: Access to command only on certain flags
Quote:
PHP Code:
|
Re: Access to command only on certain flags
Why not just edit the config file ( cmdaccess)
|
Re: Access to command only on certain flags
Quote:
|
Re: Access to command only on certain flags
y
Quote:
are you seeing ? this is good job if you don't know a work just quiet cunt Quote:
|
| All times are GMT -4. The time now is 01:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.