Hi i am searching any option or workaround, to disable all admin panels for admins/ops + chat shortcuts when any masteradmin is on server.
i was messing around in the plugin.panels.php and chat.admin.php without succes...
Thanks in advance.
Admin/Op panel
-
- wheelbarrow operator
- Posts: 19
- Joined: 07 Feb 2015 10:06
- Owned TM-games: tmu
Admin/Op panel
ввם〢Cħєggιє 〤
- L3cKy
- smooth traffic navigator
- Posts: 239
- Joined: 05 Sep 2007 13:55
- Owned TM-games: TMUF
- Location: Berlin
- Contact:
Re: Admin/Op panel
plugin.panels.php ... look for function load_admpanel ... it checks for ANY admin

Code: Select all
// called @ onPlayerConnect
function load_admpanel($aseco, $player) {
// check for any admin
if ($aseco->server->getGame() == 'TMF' &&
$aseco->isAnyAdmin($player) && $player->panels['admin'] != '') {
display_admpanel($aseco, $player);
}
} // load_admpanel
-
- wheelbarrow operator
- Posts: 19
- Joined: 07 Feb 2015 10:06
- Owned TM-games: tmu
Re: Admin/Op panel
thanks, i can read the php untill some point but cant write it
( i was wishfull thinking some magicians can fix this for me ^^
i will try in the meanwhile some options tho, but thats based on my lucky charm

i will try in the meanwhile some options tho, but thats based on my lucky charm
ввם〢Cħєggιє 〤