mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed !finger command executing on wrong client
This commit is contained in:
parent
74b9490433
commit
2e26cbc257
1 changed files with 4 additions and 4 deletions
|
@ -46,11 +46,11 @@ function commandFinger(clientId, cmdArguments)
|
|||
end
|
||||
|
||||
local stats = {
|
||||
["name"] = players.getName(clientId),
|
||||
["cleanname"] = players.getName(clientId):gsub("%^[^^]", ""),
|
||||
["codedsname"] = players.getName(clientId):gsub("%^([^^])", "^^2%1"),
|
||||
["name"] = players.getName(cmdClient),
|
||||
["cleanname"] = players.getName(cmdClient):gsub("%^[^^]", ""),
|
||||
["codedsname"] = players.getName(cmdClient):gsub("%^([^^])", "^^2%1"),
|
||||
["slot"] = cmdClient,
|
||||
["guid"] = players.getGUID(clientId),
|
||||
["guid"] = players.getGUID(cmdClient),
|
||||
}
|
||||
|
||||
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..clientId.." \"^dInformation about ^7"..stats["name"].."^d:\";")
|
||||
|
|
Loading…
Reference in a new issue