mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-16 03:07:34 +00:00
add name & team for sync chat
This commit is contained in:
parent
182018797e
commit
719a08e6a8
|
@ -65,7 +65,9 @@ function gmInte.playerSay(ply, text, team)
|
||||||
gmInte.post("/server/user/say",
|
gmInte.post("/server/user/say",
|
||||||
{
|
{
|
||||||
["steamID64"] = ply:SteamID64(),
|
["steamID64"] = ply:SteamID64(),
|
||||||
["message"] = text
|
["message"] = text,
|
||||||
|
["name"] = ply:Nick(),
|
||||||
|
["team"] = team,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user