mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
reformat: signature function
This commit is contained in:
parent
0cb1caa020
commit
209edbf8a6
|
@ -10,14 +10,14 @@ end
|
||||||
// Methods
|
// Methods
|
||||||
//
|
//
|
||||||
|
|
||||||
function gmInte.playerSay(ply, text, team)
|
function gmInte.playerSay(ply, text, teamOnly)
|
||||||
if (!gmInte.config.syncChat) then return end
|
if (!gmInte.config.syncChat) then return end
|
||||||
|
|
||||||
gmInte.http.post("/players/" .. ply:SteamID64() .. "/say",
|
gmInte.http.post("/players/" .. ply:SteamID64() .. "/say",
|
||||||
{
|
{
|
||||||
["player"] = gmInte.getPlayerFormat(ply),
|
["player"] = gmInte.getPlayerFormat(ply),
|
||||||
["text"] = text,
|
["text"] = text,
|
||||||
["team"] = team,
|
["teamOnly"] = teamOnly,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user