fix wrong index in data.jobs

This commit is contained in:
divide29 committed 2025-10-21 09:58:34 +00:00
1 parent c6759228a3
commit 85e784b3f6
1 file changed
+1 -1
@@ -2,7 +2,7 @@ if GetResourceState('emergencydispatch') == 'missing' then return end
Dispatch = Dispatch or {}
RegisterNetEvent("community_bridge:server:dispatch:sendAlert", function(data)
local job = data.job or data.jobs[0] or 'police'
local job = data.job or data.jobs[1] or 'police'
local message = data.message or "An Alert Has Been Made"
local coords = data.coords or vector3(0, 0, 0)