1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-12 19:54:42 +02:00
parent 81e6fa1136
commit 187178b704
2 changed files with 8 additions and 3 deletions

View file

@ -38,8 +38,9 @@ CreateThread(function()
SetPedDensityMultiplierThisFrame(0.5)
SetScenarioPedDensityMultiplierThisFrame(0.5, 0.5)
-- Verkehrsdichte basierend auf Bewegung anpassen
local densityMultiplier = isPlayerMoving and 0.1 or 0.05
-- Traffic density settings
Config.movingTrafficDensity = 0.05 -- Reduced from 0.1 to 0.05 (5% density when moving)
Config.stationaryTrafficDensity = 0.05 -- Keeping the same for when stationary
SetVehicleDensityMultiplierThisFrame(densityMultiplier)
SetRandomVehicleDensityMultiplierThisFrame(densityMultiplier)