mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:17:33 +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()),
|
||||
["ping"] = ply:Ping(),
|
||||
["position"] = gmInte.getVectorFormat(ply:GetPos()),
|
||||
["angle"] = gmInte.getAngleFormat(ply:EyeAngles())
|
||||
["angle"] = gmInte.getAngleFormat(ply:EyeAngles()),
|
||||
["weapon"] = gmInte.getWeaponFormat(ply:GetActiveWeapon())
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user