forked from Simnation/Main
ed
This commit is contained in:
parent
81e6fa1136
commit
187178b704
2 changed files with 8 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue