-- @/lua/ge/extensions/gameplay/traffic.lua:780
local function setupCustomTraffic(amount, params) -- spawns a group of vehicles for traffic, with custom parameters
if type(params) ~= 'table' then params = {} end
if not amount or amount < 0 then amount = getAmountFromSettings() end
spawnTraffic(amount, core_multiSpawn.createGroup(amount, params))
end