-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.lua
More file actions
20 lines (18 loc) · 739 Bytes
/
client.lua
File metadata and controls
20 lines (18 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
SetCreateRandomCops(false)
SetCreateRandomCopsNotOnScenarios(false)
SetCreateRandomCopsOnScenarios(false)
SetGarbageTrucks(false)
SetRandomBoats(false)
SetVehicleDensityMultiplierThisFrame(0.0)
SetPedDensityMultiplierThisFrame(0.0)
SetRandomVehicleDensityMultiplierThisFrame(0.0)
SetScenarioPedDensityMultiplierThisFrame(0.0, 0.0)
SetParkedVehicleDensityMultiplierThisFrame(0.0)
local x,y,z = table.unpack(GetEntityCoords(PlayerPedId()))
ClearAreaOfVehicles(x, y, z, 1000, false, false, false, false, false)
RemoveVehiclesFromGeneratorsInArea(x - 500.0, y - 500.0, z - 500.0, x + 500.0, y + 500.0, z + 500.0);
end
end)