mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-17 11:57:35 +00:00
format tbl key format
This commit is contained in:
parent
28c064241a
commit
b77633275c
|
@ -1,14 +1,14 @@
|
||||||
function gmInte.playerFormat(ply)
|
function gmInte.playerFormat(ply)
|
||||||
return {
|
return {
|
||||||
steamID = ply:SteamID(),
|
["steamID"] = ply:SteamID(),
|
||||||
steamID64 = ply:SteamID64(),
|
["steamID64"] = ply:SteamID64(),
|
||||||
userGroup = ply:GetUserGroup(),
|
["userGroup"] = ply:GetUserGroup(),
|
||||||
team = ply:Team(),
|
["team"] = ply:Team(),
|
||||||
teamName = team.GetName(ply:Team()),
|
["teamName"] = team.GetName(ply:Team()),
|
||||||
name = ply:Nick(),
|
["name"] = ply:Nick(),
|
||||||
kills = ply:Frags(),
|
["kills"] = ply:Frags(),
|
||||||
deaths = ply:Deaths(),
|
["deaths"] = ply:Deaths(),
|
||||||
customValues = ply:gmIntGetCustomValues(),
|
["customValues"] = ply:gmIntGetCustomValues(),
|
||||||
connectTime = math.Round(RealTime() - ply:gmIntGetConnectTime()),
|
["connectTime"] = math.Round(RealTime() - ply:gmIntGetConnectTime()),
|
||||||
}
|
}
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user