mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-25 05:31:41 +00:00
Added notification sound for /ac (issue #53)
This commit is contained in:
parent
6a76718c01
commit
cb3e80b49f
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ function commandAdminChat(clientId, cmdArguments)
|
|||
for _, recipient in ipairs(recipients) do
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat "..recipient.." \"^7"..et.gentity_get(clientId, "pers.netname").."^7 -> adminchat ("..#recipients.." recipients): ^a"..table.concat(message, " ").."\";")
|
||||
et.trap_SendServerCommand(recipient, "cp \"^jadminchat message from ^7"..et.gentity_get(clientId, "pers.netname"))
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "playsound "..recipient.." \"sound/misc/pm.wav\";")
|
||||
end
|
||||
|
||||
et.G_LogPrint("adminchat: "..et.gentity_get(clientId, "pers.netname")..": "..table.concat(message, " ").."\n")
|
||||
|
|
Loading…
Reference in a new issue