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