onTrafficStarted
Definition
-- @/lua/ge/extensions/gameplay/police.lua:504
local function onTrafficStarted()
local policeAmount, propAmount = tableSize(policeVehs), #policePropIds
if policeAmount > 0 or propAmount > 0 then
log('I', logTag, string.format('Activated %d police vehicles and %d police props', policeAmount, propAmount))
end
end
Callers
@/lua/ge/extensions/gameplay/traffic.lua
local function onTrafficStarted()
state = 'on'
@/lua/ge/extensions/career/modules/playerDriving.lua
local function onTrafficStarted()
if not career_career.tutorialEnabled and not gameplay_missions_missionManager.getForegroundMissionId() then