Shared Entity Vehicle:VC_getSpeedKmH()
1. Integer Speed converted from vehicles speed to km/h.
concommand.Add("VC_VehicleSpeedKMH", function(ply) if !IsValid(ply) then print("Only for players.") return end local ent = ply:GetVehicle() if IsValid(ent) then print("Current vehicle speed is: "..ent:VC_getSpeedKmH().." km/h.") else print("Invalid entity.") end end)