does anyone know how to this Script/mod https://www.gta5-mods.com/misc/prodigy-s-more-peds-and-traffic-mod work for fiveM? ive tried looking for a script and even doing it myself but no luck if cant something like it
trafficDensity = 0.9
pedDensity = 0.9
Citizen.CreateThread(function()
while true do
SetVehicleDensityMultiplierThisFrame(trafficDensity)
SetPedDensityMultiplierThisFrame(pedDensity)
SetRandomVehicleDensityMultiplierThisFrame(trafficDensity)
SetParkedVehicleDensityMultiplierThisFrame(trafficDensity)
SetScenarioPedDensityMultiplierThisFrame(pedDensity, pedDensity)
Citizen.Wait(0)
end
end)
You could do this, at the top 1.0 is the most, and 0.1 is the lowest
Would this be a server.lua file or client.lua?
client script.