Replace default police alert
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Triggered when police is alerted, this is triggered on each police player client, if you are looking for a single event, check the server side category
RegisterNetEvent("missions_creator:alertedPolice", function(coords, message)
end)
coords
vector3
Coordinates to send to police
message
string
The message the cop will see
-- Disables the default police alert
RegisterNetEvent("missions_creator:framework:ready", function()
exports["missions_creator"]:disableScriptEvent("missions_creator:alertedPolice")
end)
RegisterNetEvent("missions_creator:alertedPolice", function(coords, message)
-- Do something
end)
You can place it in the file jaksam_core/config/cl_config.lua
, at the bottom of the file on new lines