Do your civilians have trouble getting in touch with police? Do they stand at the desk for way too long before someone realizes there is a patron in need? Fear no longer.
When civilians visit the police department, they may now send a phone notification to all on duty police officers from the police dispatcher to request assistance at the department!
- Copy td-policedesk into your resources folder.
- If you are running a non-English server, you may alter the locale in
Shared/Config.lua
.
- Copy td-policedesk into your resources folder.
- If you are running a non-English server, you may alter the locale in
Shared/Config.lua
. - Open
td-policedesk/Shared/Config.lua
and ensure line 9 is as follows:TDPD.Config.ThirdEye = false
The following instructions are only useful when using GhzGarages MDT and Linden OutlawAlert. If you are using another MDT and dispatch, you will have to alter the code.
- Open
linden_outlawalert/server.lua
and view the variable labeleddispatchCodes
. - Add the following:
officerAssistance = { displayCode = 'REQ', description = 'Officer Assistance', isImportant = 0, recipientList = {'police'}, blipSprite = 58, blipColour = 2, blipScale = 1.5, infoM = 'fa-hands-helping', infoM2 = 'fa-info' },
- Open
td-policedesk/Shared/Config.lua
and ensure line 67 is as follows:TDPD.Config.UsingMDT = true
- Find
TDPD.Config.Locations
intd-policedesk/Shared/Config.lua
. - Add more locations while following the format for MRPD.
- Find
setupTargetExport()
intd-policedesk/Client/CL_Main.lua
. - You may add additional target locations while following the format for MRPD.
In this case, you are missing a function in qb-core (also meaning that your core is outdated).
Add the code to qb-core/server/functions.lua
:
function QBCore.Functions.GetQBPlayers()
return QBCore.Players
end
If you review https://github.com/qbcore-framework/qb-core/blob/main/server/functions.lua, the function starts on line 76.
Overall
- qb-core
- qb-target (if using thirdeye)
Default: English; configurable.