fix: player ready player format

This commit is contained in:
Linventif 2024-03-13 20:44:42 +01:00
parent ffe83a66e4
commit 2bdf0383dd
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -18,7 +18,9 @@ end)
function gmInte.playerReady(ply) function gmInte.playerReady(ply)
if (!ply:IsValid() || !ply:IsPlayer(ply)) then return end if (!ply:IsValid() || !ply:IsPlayer(ply)) then return end
gmInte.http.post("/players/" .. ply:SteamID64() .. "/ready", gmInte.getPlayerFormat(ply)) gmInte.http.post("/players/" .. ply:SteamID64() .. "/ready", {
["player"] = gmInte.getPlayerFormat(ply)
})
end end
function gmInte.playerConnect(data) function gmInte.playerConnect(data)