Skip to content

Commit

Permalink
Lets bring back this
Browse files Browse the repository at this point in the history
  • Loading branch information
NeenGame committed Jan 21, 2024
1 parent 83c5f60 commit 69576e3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions map-postalmap-streetname/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ CreateThread(function()
SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0) -- ZOOM_LEVEL_GALLERY_MAXIMIZE
end)

CreateThread(function()
while true do
Wait(80)
local ped = PlayerPedId()
if IsPedOnFoot(ped) then
SetRadarZoom(1200) -- default 1100
elseif IsPedInAnyVehicle(ped, true) then
SetRadarZoom(1200) -- default 1100
end
end
end)

if EnableCayoMiniMap then
CreateThread(function()
while true do
Expand Down
12 changes: 12 additions & 0 deletions map-postalmap/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ CreateThread(function()
SetMapZoomDataLevel(8, 11.0, 0.0, 0.0, 2.0, 3.0) -- ZOOM_LEVEL_GALLERY_MAXIMIZE
end)

CreateThread(function()
while true do
Wait(80)
local ped = PlayerPedId()
if IsPedOnFoot(ped) then
SetRadarZoom(1200) -- default 1100
elseif IsPedInAnyVehicle(ped, true) then
SetRadarZoom(1200) -- default 1100
end
end
end)

if EnableCayoMiniMap then
CreateThread(function()
while true do
Expand Down

0 comments on commit 69576e3

Please sign in to comment.