mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
fix: player ready player format
This commit is contained in:
parent
ffe83a66e4
commit
2bdf0383dd
|
@ -18,7 +18,9 @@ end)
|
|||
function gmInte.playerReady(ply)
|
||||
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
|
||||
|
||||
function gmInte.playerConnect(data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user