reformat: signature function

This commit is contained in:
Linventif 2024-02-22 17:49:23 +01:00
parent 0cb1caa020
commit 209edbf8a6
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -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