mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-27 15:29:12 +00:00
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:
parent
224c5b2d1e
commit
b09d0df217
2 changed files with 56 additions and 44 deletions
6
Classic/scripts/admin.cs
Normal file → Executable file
6
Classic/scripts/admin.cs
Normal file → Executable 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue