1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/map/client.lua

18 lines
550 B
Lua
Raw Normal View History

2025-06-07 08:51:21 +02:00
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)