forked from Simnation/Main
18 lines
550 B
Lua
18 lines
550 B
Lua
![]() |
Citizen.CreateThread(function()
|
||
|
SetMapZoomDataLevel(0, 0.96, 0.9, 0.08, 0.0, 0.0)
|
||
|
SetMapZoomDataLevel(1, 1.6, 0.9, 0.08, 0.0, 0.0)
|
||
|
SetMapZoomDataLevel(2, 8.6, 0.9, 0.08, 0.0, 0.0)
|
||
|
SetMapZoomDataLevel(3, 12.3, 0.9, 0.08, 0.0, 0.0)
|
||
|
SetMapZoomDataLevel(4, 22.3, 0.9, 0.08, 0.0, 0.0)
|
||
|
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)
|