From d18127fea03b40a380d64e46207c8f9213b061a5 Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Wed, 30 Jan 2019 17:00:10 +0100 Subject: [PATCH] Fixed syntax for !mute and !vmute --- luascripts/wolfadmin/commands/admin/mute.lua | 2 +- luascripts/wolfadmin/commands/admin/vmute.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/luascripts/wolfadmin/commands/admin/mute.lua b/luascripts/wolfadmin/commands/admin/mute.lua index 255a3ec..a8d2d27 100644 --- a/luascripts/wolfadmin/commands/admin/mute.lua +++ b/luascripts/wolfadmin/commands/admin/mute.lua @@ -95,4 +95,4 @@ function commandMute(clientId, command, victim, ...) return true end -commands.addadmin("mute", commandMute, auth.PERM_MUTE, "mutes a player (text and voice chat)", "^9[^3name|slot#^9]", nil, (settings.get("g_standalone") == 0)) +commands.addadmin("mute", commandMute, auth.PERM_MUTE, "mutes a player (text and voice chat)", "^9[^3name|slot#^9] ^9(^3duration^9) ^9(^3reason^9)", nil, (settings.get("g_standalone") == 0)) diff --git a/luascripts/wolfadmin/commands/admin/vmute.lua b/luascripts/wolfadmin/commands/admin/vmute.lua index 82d6075..54899fe 100644 --- a/luascripts/wolfadmin/commands/admin/vmute.lua +++ b/luascripts/wolfadmin/commands/admin/vmute.lua @@ -95,4 +95,4 @@ function commandVoiceMute(clientId, command, victim, ...) return true end -commands.addadmin("vmute", commandVoiceMute, auth.PERM_VOICEMUTE, "mutes a player (voice chat only)", "^9[^3name|slot#^9]") +commands.addadmin("vmute", commandVoiceMute, auth.PERM_VOICEMUTE, "mutes a player (voice chat only)", "^9[^3name|slot#^9] ^9(^3duration^9) ^9(^3reason^9)")