FiveM Leaks

[FiveM] [Solution] Map Zoom Problem

Submitted by purpless01, , Thread ID: 200756

Thread Closed

RE: [FiveM] [Solution] Map Zoom Problem

#3
this is a bad way to do this it will get more resources than normally what is a need. just add an event handler.

Code:
Citizen.CreateThread(function()
  while true do
    Citizen.Wait(1)
    if IsPedOnFoot(GetPlayerPed(-1)) then
      SetRadarZoom(5000)
    elseif IsPedInAnyVehicle(GetPlayerPed(-1), true) then
      SetRadarZoom(5000)
    end
  end
end)
,
' ? ...

[Image: ascii-red.png]


Users browsing this thread: 2 Guest(s)