diff --git a/cl_radar.lua b/cl_radar.lua index 3215f6b..d597c7c 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -775,7 +775,7 @@ Citizen.CreateThread( function() else UTIL:DrawDebugText( 0.250 + ( 0.100 * i ), 0.800, 0.60, true, "Ent: nil" .. "\nSpeed: nil" .. "\nRay type: nil" ) end - end + end -- Ray line drawing local veh = GetVehiclePedIsIn( PlayerPedId(), false ) diff --git a/nui/radar.css b/nui/radar.css index 49bfff7..0c3d0a5 100644 --- a/nui/radar.css +++ b/nui/radar.css @@ -22,19 +22,19 @@ } .radar_container { - width: 670px; + width: 668px; height: 200px; /* Temp centre */ position: absolute; margin: auto; - top: 0; + /* top: 0; */ right: 0; - bottom: 0; + bottom: 15px; left: 0; display: grid; - grid-template-columns: 2.50% 95% 2.50%; + grid-template-columns: 16px 635px 16px; } .panel_side { @@ -71,7 +71,8 @@ width: 100%; display: grid; - grid-template-columns: auto 50px 150px 35px 50px 135px 35px 135px; + grid-template-columns: 45px 50px 150px 35px 50px 135px 35px 135px; + gap: 0 0; } #radar .label { font-size: 15px; @@ -147,7 +148,7 @@ height: 70px; - border: 3px solid black; + border: 1px solid black; margin: auto 0; background-color: rgb(61, 18, 0); @@ -159,12 +160,12 @@ font-size: 70px; text-align: center; - line-height: 108%; + line-height: 115%; margin: 0 auto; letter-spacing: 10px; - margin-right: -6px; + margin-right: -8px; } #radar .speeds_container .fast { @@ -173,8 +174,8 @@ } #radar .speeds_container .fast p { font-size: 60px; - line-height: 106%; - margin-right: -8px; + line-height: 115%; + margin-right: -6px; } #radar .speeds_container .fast_top { diff --git a/nui/radar.html b/nui/radar.html index 32132be..8af22dd 100644 --- a/nui/radar.html +++ b/nui/radar.html @@ -32,12 +32,12 @@

000

-

¦44

+

000

-

¦53

+

@@ -68,12 +68,12 @@

000

-

¦89

+

000

-

117

+

@@ -95,7 +95,7 @@

000

-

¦54

+