Help with Map

How can I fix this issue in the MAP left side?

1 Like

This snippet somewhere on the client should fix your problem :slight_smile:

Citizen.CreateThread(function()
	SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0) -- Level 0
    SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0) -- Level 1
    SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0) -- Level 2
    SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0) -- Level 3
    SetMapZoomDataLevel(4, 24.3, 0.9, 0.08, 0.0, 0.0) -- Level 4
    SetMapZoomDataLevel(5, 55.0, 0.0, 0.1, 2.0, 1.0) -- ZOOM_LEVEL_GOLF_COURSE
    SetMapZoomDataLevel(6, 450.0, 0.0, 0.1, 1.0, 1.0) -- ZOOM_LEVEL_INTERIOR
    SetMapZoomDataLevel(7, 4.5, 0.0, 0.0, 0.0, 0.0) -- ZOOM_LEVEL_GALLERY
    SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0) -- ZOOM_LEVEL_GALLERY_MAXIMIZE
end)
1 Like

Got the same error. This is my client.lua now

Citizen.CreateThread(function()
SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0) – Level 0
SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0) – Level 1
SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0) – Level 2
SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0) – Level 3
SetMapZoomDataLevel(4, 24.3, 0.9, 0.08, 0.0, 0.0) – Level 4
SetMapZoomDataLevel(5, 55.0, 0.0, 0.1, 2.0, 1.0) – ZOOM_LEVEL_GOLF_COURSE
SetMapZoomDataLevel(6, 450.0, 0.0, 0.1, 1.0, 1.0) – ZOOM_LEVEL_INTERIOR
SetMapZoomDataLevel(7, 4.5, 0.0, 0.0, 0.0, 0.0) – ZOOM_LEVEL_GALLERY
SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0) – ZOOM_LEVEL_GALLERY_MAXIMIZE
end)

Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsPedOnFoot(GetPlayerPed(-1)) then
SetRadarZoom(1100)
elseif IsPedInAnyVehicle(GetPlayerPed(-1), true) then
SetRadarZoom(1100)
end
end
end)

1 Like

You added stark mansion for sure… Just remove the minimap files and you’ll be good

Citizen.CreateThread(function()
SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0) – Level 0
SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0) – Level 1
SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0) – Level 2
SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0) – Level 3
SetMapZoomDataLevel(4, 24.3, 0.9, 0.08, 0.0, 0.0) – Level 4
SetMapZoomDataLevel(5, 55.0, 0.0, 0.1, 2.0, 1.0) – ZOOM_LEVEL_GOLF_COURSE
SetMapZoomDataLevel(6, 450.0, 0.0, 0.1, 1.0, 1.0) – ZOOM_LEVEL_INTERIOR
SetMapZoomDataLevel(7, 4.5, 0.0, 0.0, 0.0, 0.0) – ZOOM_LEVEL_GALLERY
SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0) – ZOOM_LEVEL_GALLERY_MAXIMIZE
end)

Works fine. Thanks a lot

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.