Counting admins on server
PHP Code:
EDIT: THANKS |
Re: Counting admins on server
Because if "adminai" is below 1 the if is true and the check flags part is passed (because its optional) and executes the menu.
|
Re: Counting admins on server
Yeh, that's what I wanted... If there is below than 1 (that means 0) admins on server, anyone can get teamMENU(); If more than 0 then only only players with ADMIN_CFG access...
|
Re: Counting admins on server
Code:
Quote:
There can be alive admins in the server and the plugin wouldn't know it. Remove the flags from the function. |
| All times are GMT -4. The time now is 11:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.