Fixed syntax for !mute and !vmute

This commit is contained in:
Timo Smit 2019-01-30 17:00:10 +01:00
parent 1a8e1f6af5
commit d18127fea0
2 changed files with 2 additions and 2 deletions

View file

@ -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))

View file

@ -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)")