Skip to content

Commit

Permalink
Fix syntax help for !p(un)lock (issue #56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Smit committed Mar 16, 2016
1 parent 7445e7b commit fc88fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion luascripts/commands/admin/plock.lua
Expand Up @@ -22,7 +22,7 @@ local stats = require "luascripts.wolfadmin.players.stats"

function commandPlayerLock(clientId, cmdArguments)
if cmdArguments[1] == nil then
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dplock usage: "..commands.getadmin("vmute")["syntax"].."\";")
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dplock usage: "..commands.getadmin("plock")["syntax"].."\";")

return true
elseif tonumber(cmdArguments[1]) == nil then
Expand Down
2 changes: 1 addition & 1 deletion luascripts/commands/admin/punlock.lua
Expand Up @@ -22,7 +22,7 @@ local stats = require "luascripts.wolfadmin.players.stats"

function commandPlayerUnlock(clientId, cmdArguments)
if cmdArguments[1] == nil then
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dpunlock usage: "..commands.getadmin("vmute")["syntax"].."\";")
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dpunlock usage: "..commands.getadmin("punlock")["syntax"].."\";")

return true
elseif tonumber(cmdArguments[1]) == nil then
Expand Down

0 comments on commit fc88fcf

Please sign in to comment.