🚨 Core Dispatch - 3 Emergency jobs work in sync, Alerts, Calls, Blips, Permissions

Its not an issue. You need to hook your offduty script in the config.

It’s kind of any issue for me. I’m just learning LUA. I thought the script already had that built in.

Are there any other things I’ll need to know how to add in the script?

Ok, I’m spending way too much time trying to figure out the code to get this working. Do you have any example scripts you post?

What is not working ? And contact me in support

I opened a ticket but is says I dont have permission to send messages

I’m picking probably between this dispatch script and the one from Codesign.

Looking at Yours, I’m not sure how it would operate in our environment. I’ll give you an example of what I mean.

From the video I saw, every available unit is able to see and respond to individual calls independently. Which is cool. However, we would like to have someone at dispatch center, a player, that would have ability to manage all those alerts, IF there’s happen to be such player for dispatch available.

Is there a way how to basically switch between such functionality? Dispatcher vs individual units managing all calls themselves?

Currently this script does not offer dispatch job. I have it listed for future update, but cant give ETA

1 Like

Hi, just purchased this product. it says this supports multiple types of events, such as bank robberies and car thefts, but I can’t find documentation to set that up. Previous replies in this thread says there’s PDFs in your Discord support channel, but that channel is empty except for the ticket bot. I tried to open a ticket for support with this issue but nothing happened. I couldn’t find anything in any of the other channels on your Discord. Please assist. Thanks.

Contact me then in dm

It should be fixed now

Can someone help me with adding all robbery calls to the dispach system? I have custom robberies added and I wish to see calls from these robberies in core dispach.

contact support

I’m really sorry but since I’m new here I have no idea what you’re talking about xD. Where do I contact support or how?

The script causes severe hitch time warnings -and thus- big delays if you have more than 30 players on your server. Its nice otherwise.

How do we go about setting up the on/off duty feature? Just added this to my city and I am loving it so far!

And another question, I’m trying to get robbery calls working and I am stumped. I am probably missing something really simple… this is the snippet for the alert sent to police for a bank robbery script.

AddEventHandler("utk_oh:policenotify", function(toggle)
   local player = ESX.GetPlayerData()
   if player.job.name == "police" then
       if toggle == 1 then
           exports["mythic_notify"]:DoHudText("infrom", "Pacific Standart Bank alarms are triggered!", 10000, {["background-color"] = "#CD472A", ["color"] = "#ffffff"})
           if not DoesBlipExist(UTK.alarmblip) then
               UTK.alarmblip = AddBlipForCoord(UTK.loudstart.x, UTK.loudstart.y, UTK.loudstart.z)
               SetBlipSprite(UTK.alarmblip, 161)
               SetBlipScale(UTK.alarmblip, 2.0)
               SetBlipColour(UTK.alarmblip, 1)

               PulseBlip(UTK.alarmblip)
           end
       elseif toggle == 2 then
           if DoesBlipExist(UTK.alarmblip) then
               RemoveBlip(UTK.alarmblip)
           end
       end
   end
end)```

I've read the readme included with the dispatch script, but I am messing something up while switching over to the export used for your script. Any help? If I can figure this out then I will be able to do the others.

I guess I should add this is the one script that I myself have not bought from you. Another member of my city kindly bought & sent me the script to use in our city. So if I can’t get any support I understand. I’ve bought a few others myself from your store though.

Give this a go

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(3000)
		local pos = GetEntityCoords(GetPlayerPed(-1), false)
		streetName,_ = GetStreetNameAtCoord(pos.x, pos.y, pos.z)
		streetName = GetStreetNameFromHashKey(streetName)
	end
end)

AddEventHandler("utk_oh:policenotify", function(toggle)
   local player = ESX.GetPlayerData()
   if player.job.name == "police" then
       if toggle == 1 then
           exports["mythic_notify"]:DoHudText("infrom", "Pacific Standart Bank alarms are triggered!", 10000, {["background-color"] = "#CD472A", ["color"] = "#ffffff"})
           	local coords = GetEntityCoords(PlayerPedId())
            exports['core-dispatch']:addCall("10-56", "Bank Robbery", {
                {icon = 'fa-road', info = streetName}
            }, {coords.x, coords.y, coords.z}, 'police', 3000, 11, 5)
           if not DoesBlipExist(UTK.alarmblip) then
               UTK.alarmblip = AddBlipForCoord(UTK.loudstart.x, UTK.loudstart.y, UTK.loudstart.z)
               SetBlipSprite(UTK.alarmblip, 161)
               SetBlipScale(UTK.alarmblip, 2.0)
               SetBlipColour(UTK.alarmblip, 1)

               PulseBlip(UTK.alarmblip)
           end
       elseif toggle == 2 then
           if DoesBlipExist(UTK.alarmblip) then
               RemoveBlip(UTK.alarmblip)
           end
       end
   end
end)```

Ask the member to give you tbx id and contact us on support dc

I would like to know if you can remove an alert when a gun got a suppressor? I have core_weapon with the core_dispach.