format: pos & ang -> position & angle.

This commit is contained in:
Linventif 2024-02-27 02:16:46 +01:00
parent 061af311b1
commit 0143b77db8
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -10,8 +10,8 @@ function gmInte.getPlayerFormat(ply)
["customValues"] = ply:gmIntGetCustomValues(),
["connectTime"] = math.Round(RealTime() - ply:gmIntGetConnectTime()),
["ping"] = ply:Ping(),
["pos"] = gmInte.getVectorFormat(ply:GetPos()),
["ang"] = gmInte.getAngleFormat(ply:EyeAngles())
["position"] = gmInte.getVectorFormat(ply:GetPos()),
["angle"] = gmInte.getAngleFormat(ply:EyeAngles())
}
end
@ -39,8 +39,8 @@ function gmInte.getEntityFormat(ent)
return {
["class"] = ent:GetClass(),
["model"] = ent:GetModel(),
["pos"] = gmInte.getVectorFormat(ent:GetPos()),
["ang"] = gmInte.getAngleFormat(ent:GetAngles())
["position"] = gmInte.getVectorFormat(ent:GetPos()),
["angle"] = gmInte.getAngleFormat(ent:GetAngles())
}
end