Skip to content

Commit 4ec5deb

Browse files
committed
Native update
1 parent d3f0b2d commit 4ec5deb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

client.lua

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ local radioActive = false
3131
DisplayRadar(false)
3232

3333
local function CinematicShow(bool)
34-
SetRadarBigmapEnabled(true, false)
34+
SetBigmapActive(true, false)
3535
Wait(0)
36-
SetRadarBigmapEnabled(false, false)
36+
SetBigmapActive(false, false)
3737
if bool then
3838
for i = CinematicHeight, 0, -1.0 do
3939
Wait(10)
@@ -390,10 +390,10 @@ RegisterNetEvent('hud:client:LoadMap', function()
390390
-- 0.315 = map shorten
391391
SetMinimapComponentPosition('minimap_blur', 'L', 'B', -0.01 + minimapOffset, 0.025, 0.262, 0.300)
392392
SetBlipAlpha(GetNorthRadarBlip(), 0)
393-
SetRadarBigmapEnabled(true, false)
393+
SetBigmapActive(true, false)
394394
SetMinimapClipType(0)
395395
Wait(50)
396-
SetRadarBigmapEnabled(false, false)
396+
SetBigmapActive(false, false)
397397
if Menu.isToggleMapBordersChecked then
398398
showCircleB = false
399399
showSquareB = true
@@ -428,9 +428,9 @@ RegisterNetEvent('hud:client:LoadMap', function()
428428
SetMinimapComponentPosition('minimap_blur', 'L', 'B', -0.00 + minimapOffset, 0.015, 0.252, 0.338)
429429
SetBlipAlpha(GetNorthRadarBlip(), 0)
430430
SetMinimapClipType(1)
431-
SetRadarBigmapEnabled(true, false)
431+
SetBigmapActive(true, false)
432432
Wait(50)
433-
SetRadarBigmapEnabled(false, false)
433+
SetBigmapActive(false, false)
434434
if Menu.isToggleMapBordersChecked then
435435
showSquareB = false
436436
showCircleB = true
@@ -1009,7 +1009,7 @@ end)
10091009
-- Minimap update
10101010
CreateThread(function()
10111011
while true do
1012-
SetRadarBigmapEnabled(false, false)
1012+
SetBigmapActive(false, false)
10131013
SetRadarZoom(1000)
10141014
Wait(500)
10151015
end

0 commit comments

Comments
 (0)