mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Added sound to !warn command (refs #62)
This commit is contained in:
parent
b81894db87
commit
e3345faa90
1 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,9 @@ function commandWarn(clientId, command, victim, ...)
|
|||
end
|
||||
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "ccp "..cmdClient.." \"^7You have been warned by "..players.getName(clientId)..": ^7"..reason..".\";")
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay -1 \"^dwarn: ^7"..players.getName(cmdClient).." ^9has been warned.\";")
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "cchat -1 \"^dwarn: ^7"..players.getName(cmdClient).." ^9has been warned.\";")
|
||||
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "playsound \"sound/misc/referee.wav\";")
|
||||
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue