v1.4.1 patch
qs-police-creator dispatch support and recruiter placement fixes
4changes

qs-police-creator dispatch support and recruiter placement fixes
4changes

[02] Release
Police alerts from the Crime Creator and Underground now reach the qs-police-creator MDT when it is running. The recruiter placement tool works on every game build and can be confirmed with Enter, and the wait between onboarding missions now accepts decimal hours.
In config/main.lua, add qs-police-creator to the dispatches list:
local dispatches = {
['qb-policejob'] = 'qb-policejob',
['qs-dispatch'] = 'qs-dispatch',
['qs-police-creator'] = 'qs-police-creator'
}
In config/underground.lua, inside UG.Dispatch, under UseQsDispatch:
UsePoliceCreator = true, -- [EDIT] Forward to the qs-police-creator MDT when it is started.
Replace every file in the resource, except what you edited yourself:
client/custom/dispatch/qs-police-creator.lua: new file.client/modules/underground/recruiters.luaserver/modules/underground/dispatch.luaserver/modules/underground/onboarding.luashared/ug_settings.luaconfig/main.lua: see above.config/underground.lua: see above.fxmanifest.lua: version only.When qs-police-creator is running, police alerts reach its MDT as dispatch calls with location, priority and a map blip. This covers the regular Crime Creator alerts and the Underground ones (snitching neighbours, smell, heat and more). It is detected automatically. The new option UG.Dispatch.UsePoliceCreator (on by default) turns it off for Underground only.
Placement can now be confirmed with Enter, as well as left click and E. Enter does nothing else while placing.
On some game builds the placement tool could not find the ground, so the NPC, warehouse doors, mission victims and bikes could not be placed. It now works on all builds.
UG.Onboarding.CooldownHours and /crimeconfig now accept decimal hours (for example 0.25 = 15 minutes), and the setting moves in 0.25 steps. Before, some decimal values caused an error when a mission ended.