How to add Police Alerts?!
sd_lib
provides a comprehensive solution for integrating with the most renowned dispatch resources available. Your dispatch will automatically be detected and selected. If your preferred system isn't listed, just add your own system yourself in modules/PoliceDispatch/client.lua
. The policeAlert()
function in every script is your gateway to tailor the dispatch details - from the dispatch code to blips. Tailor it to your needs, and you're set!
Here's the example from my oilrig script:
Users of ps-dispatch
must continue to add the blip entry into ps-dispatch/server/sv_dispatchcodes.lua
or shared/config.lua (Under Config.Blips)
, based on the resource version. It's crucial that this entry matches the dispatchcodename
in the PoliceDispatch/policeAlert
function.
Last updated