Vote Menu Tweaks

Moved some things around (Team Damage)
Fixed double 'Force Observer' bug
Allow admins to gag
Dont allow admins to control NetTournyClient Toggle
This commit is contained in:
ChocoTaco 2021-08-30 11:40:33 -04:00
parent 224c5b2d1e
commit b09d0df217
2 changed files with 56 additions and 44 deletions

6
Classic/scripts/admin.cs Normal file → Executable file
View file

@ -477,7 +477,7 @@ function serverCmdGetAntiTurtleTimeList( %client, %key )
function serverCmdTogglePlayerGag(%client, %who)
{
if(%client.isSuperAdmin)
if(%client.isAdmin || %client.isSuperAdmin)
{
if(!%who.isGagged && !%who.isSuperAdmin)
{
@ -496,8 +496,8 @@ function serverCmdTogglePlayerGag(%client, %who)
logEcho(%client.nameBase @ " ungagged " @ %who.nameBase, 1);
}
}
else
messageClient(%client, 'MsgError', '\c2Only Super Admins can use this command.');
// else
// messageClient(%client, 'MsgError', '\c2Only Super Admins can use this command.');
}
function serverCmdTogglePlayerFreeze(%client, %who)