add: active weapon

This commit is contained in:
Linventif 2024-06-29 04:48:38 +00:00
parent e140abce96
commit ddd0aeec1d

View File

@ -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