Initial Setup

Remove Conflicting Scripts

This script is meant to replace whatever "population" or "density" script you might already have.


Qbox

Remove qbx_density


QB Core

Older Versions of qb-smallresources:

  • Remove the density.lua file from qb-smallresources/client

Newer Versions of qb-smallresources

  • Remove the following flines from qb-smallresources/client/hudcomponents.lua

  • SetParkedVehicleDensityMultiplierThisFrame(Config.Density.parked)
    SetVehicleDensityMultiplierThisFrame(Config.Density.vehicle)
    SetRandomVehicleDensityMultiplierThisFrame(Config.Density.multiplier)
    SetPedDensityMultiplierThisFrame(Config.Density.peds)
    SetScenarioPedDensityMultiplierThisFrame(Config.Density.scenario, Config.Density.scenario) -- Walking NPC Density

Last updated