Merge branch 'patch-1' of github.com:IR4T4/wolfadmin into develop/1.2.1

This commit is contained in:
Timo Smit 2019-01-27 22:36:05 +01:00
commit 251d85ab66

View file

@ -24,7 +24,7 @@ local bots = wolfa_requireModule("game.bots")
function commandPutBots(clientId, command, team) function commandPutBots(clientId, command, team)
if team == nil and team ~= constants.TEAM_AXIS_SC and team ~= constants.TEAM_ALLIES_SC and team ~= constants.TEAM_SPECTATORS_SC then if team == nil and team ~= constants.TEAM_AXIS_SC and team ~= constants.TEAM_ALLIES_SC and team ~= constants.TEAM_SPECTATORS_SC then
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dputbots usage: "..commands.getadmin("vmute")["syntax"].."\";") et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dputbots usage: "..commands.getadmin("putbots")["syntax"].."\";")
return true return true
end end