How can I fix this issue in the MAP left side?
This snippet somewhere on the client should fix your problem
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)
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)
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.