mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-29 07:21:54 +00:00
Only activate mute commands in standalone mode
This commit is contained in:
parent
03b18f9c0a
commit
7befbbf9aa
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue