Advertisement
glitchdetector

Tycoon Interior Handler

Jul 25th, 2020
1,563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.03 KB | None | 0 0
  1. while true do
  2.     Wait(5)
  3.     local ped = GetPlayerPed(-1)
  4.     local interior = GetInteriorFromEntity(ped)
  5.     local interiorGroup = GetInteriorGroupId(interior)
  6.  
  7.     N_0x82cedc33687e1f50(1)
  8.     SetReduceVehicleModelBudget(true)
  9.     -- N_0x0923dbf87dff735e(10.0, 10.0, 10.0)
  10.  
  11.     if interior ~= 0 and interiorGroup == 0 then
  12.         if not IsPauseMenuActive() then
  13.             DisableRadarThisFrame()
  14.             CenterPlayerOnRadarThisFrame()
  15.             SetRadarZoomLevelThisFrame(0)
  16.         end
  17.         SetPedDensityMultiplierThisFrame(0.0)
  18.         SetScenarioPedDensityMultiplierThisFrame(0.0)
  19.         SetParkedVehicleDensityMultiplierThisFrame(0.0)
  20.         SetRandomVehicleDensityMultiplierThisFrame(0.0)
  21.         SetVehicleDensityMultiplierThisFrame(0.0)
  22.         SetSomeVehicleDensityMultiplierThisFrame(0.0)
  23.         SetSomethingMultiplierThisFrame(false)
  24.     else
  25.         -- Enable Zancudo
  26.         SetRadarAsInteriorThisFrame("V_FakeMilitaryBase", -2250.0, 3100.0, 0.0, 0)
  27.         SetRadarAsExteriorThisFrame()
  28.     end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement