mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
add: player in data
This commit is contained in:
parent
d80e92607d
commit
471d0ca0a2
|
@ -84,8 +84,9 @@ function gmInte.playerChangeGroup(steamID64, oldGroup, newGroup)
|
|||
cachedPlayers[steamID64] = newGroup
|
||||
|
||||
gmInte.http.post("/players/" .. steamID64 .. "/group", {
|
||||
oldGroup = oldGroup || "user",
|
||||
newGroup = newGroup
|
||||
["player"] = gmInte.getPlayerFormat(ply),
|
||||
["oldGroup"] = oldGroup || "user",
|
||||
["newGroup"] = newGroup
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user