Fix syntax help for !p(un)lock (issue #56)

This commit is contained in:
Timo Smit 2016-03-16 22:46:23 +01:00
parent 7445e7b173
commit fc88fcfc4b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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