Original post · 2y ago#1
fully customizable script that removes or reduces ai to help reduce server lag to download make a folder called removeAllAI and add the following files to the folder then add ensure removeAllAI then save file and restart server
This resource has been viewed 1512 times. Free download from the English Lounge section of HighLeaks. Compatible with FiveM servers including QBCore and ESX frameworks. Installation instructions included with download. Check requirements before installing on your server. Report issues or request support through our forums. Regular updates and bug fixes provided by uploaders. Thousands of FiveM resources available for free download. Download #1248 - Script to remove or reduce ai to reduce lag.
This resource has been viewed 1512 times. Free download from the English Lounge section of HighLeaks. Compatible with FiveM servers including QBCore and ESX frameworks. Installation instructions included with download. Check requirements before installing on your server. Report issues or request support through our forums. Regular updates and bug fixes provided by uploaders. Thousands of FiveM resources available for free download. Download #1248 - Script to remove or reduce ai to reduce lag.
5 replies
while true do
Citizen.Wait(0)
SetVehicleDensityMultiplierThisFrame(0.5)
SetPedDensityMultiplierThisFrame(1.0)
SetRandomVehicleDensityMultiplierThisFrame(0.2)
SetParkedVehicleDensityMultiplierThisFrame(0.2)
-- SetScenarioPedDensityMultiplierThisFrame(false)
end
end)
If it can Help us :)