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