admin flag a only
Hi can someone code in this code here (its a part of a huge plugin) that only Admins with admin flag A can open the blockmaker pls
PHP Code:
|
Re: admin flag a only
if(! (get_user_flags(id) & ADMIN_KICK))
return PLUGIN_HANDLED |
Re: admin flag a only
Can u post the code pls kia
|
Re: admin flag a only
I just did that.
Just put it at the top of your function. |
Re: admin flag a only
Well you're wrong :D This is what I want!
PHP Code:
|
AW: Re: admin flag a only
Quote:
|
Re: admin flag a only
Quote:
|
Re: admin flag a only
Quote:
|
Re: admin flag a only
i just tryed kias code and it doenst worked and this one works, so fysiks can u post the code with the best way pls?
|
Re: admin flag a only
If you code works, then use it. I never said it was bad. access() is generally used when the flag being used is unknown at compile time.
|
| All times are GMT -4. The time now is 20:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.