Skip to content

Commit

Permalink
Native update
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed Apr 15, 2024
1 parent d3f0b2d commit 4ec5deb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ local radioActive = false
DisplayRadar(false)

local function CinematicShow(bool)
SetRadarBigmapEnabled(true, false)
SetBigmapActive(true, false)
Wait(0)
SetRadarBigmapEnabled(false, false)
SetBigmapActive(false, false)
if bool then
for i = CinematicHeight, 0, -1.0 do
Wait(10)
Expand Down Expand Up @@ -390,10 +390,10 @@ RegisterNetEvent('hud:client:LoadMap', function()
-- 0.315 = map shorten
SetMinimapComponentPosition('minimap_blur', 'L', 'B', -0.01 + minimapOffset, 0.025, 0.262, 0.300)
SetBlipAlpha(GetNorthRadarBlip(), 0)
SetRadarBigmapEnabled(true, false)
SetBigmapActive(true, false)
SetMinimapClipType(0)
Wait(50)
SetRadarBigmapEnabled(false, false)
SetBigmapActive(false, false)
if Menu.isToggleMapBordersChecked then
showCircleB = false
showSquareB = true
Expand Down Expand Up @@ -428,9 +428,9 @@ RegisterNetEvent('hud:client:LoadMap', function()
SetMinimapComponentPosition('minimap_blur', 'L', 'B', -0.00 + minimapOffset, 0.015, 0.252, 0.338)
SetBlipAlpha(GetNorthRadarBlip(), 0)
SetMinimapClipType(1)
SetRadarBigmapEnabled(true, false)
SetBigmapActive(true, false)
Wait(50)
SetRadarBigmapEnabled(false, false)
SetBigmapActive(false, false)
if Menu.isToggleMapBordersChecked then
showSquareB = false
showCircleB = true
Expand Down Expand Up @@ -1009,7 +1009,7 @@ end)
-- Minimap update
CreateThread(function()
while true do
SetRadarBigmapEnabled(false, false)
SetBigmapActive(false, false)
SetRadarZoom(1000)
Wait(500)
end
Expand Down

0 comments on commit 4ec5deb

Please sign in to comment.