mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
add: active weapon
This commit is contained in:
parent
e140abce96
commit
ddd0aeec1d
|
@ -12,7 +12,8 @@ function gmInte.getPlayerFormat(ply)
|
||||||
["connectTime"] = math.Round(RealTime() - ply:gmIntGetConnectTime()),
|
["connectTime"] = math.Round(RealTime() - ply:gmIntGetConnectTime()),
|
||||||
["ping"] = ply:Ping(),
|
["ping"] = ply:Ping(),
|
||||||
["position"] = gmInte.getVectorFormat(ply:GetPos()),
|
["position"] = gmInte.getVectorFormat(ply:GetPos()),
|
||||||
["angle"] = gmInte.getAngleFormat(ply:EyeAngles())
|
["angle"] = gmInte.getAngleFormat(ply:EyeAngles()),
|
||||||
|
["weapon"] = gmInte.getWeaponFormat(ply:GetActiveWeapon())
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user