Only activate mute commands in standalone mode

This commit is contained in:
Timo Smit 2016-09-07 18:54:28 +02:00
parent 03b18f9c0a
commit 7befbbf9aa
2 changed files with 2 additions and 2 deletions

View file

@ -79,4 +79,4 @@ function commandMute(clientId, cmdArguments)
return true return true
end end
commands.addadmin("mute", commandMute, auth.PERM_MUTE, "voicemutes a player", "^9[^3name|slot#^9]") commands.addadmin("mute", commandMute, auth.PERM_MUTE, "voicemutes a player", "^9[^3name|slot#^9]", (settings.get("g_standalone") == 0))

View file

@ -54,4 +54,4 @@ function commandUnmute(clientId, cmdArguments)
return true return true
end end
commands.addadmin("unmute", commandUnmute, auth.PERM_MUTE, "unvoicemutes a player", "^9[^3name|slot#^9]") commands.addadmin("unmute", commandUnmute, auth.PERM_MUTE, "unvoicemutes a player", "^9[^3name|slot#^9]", (settings.get("g_standalone") == 0))