fix: wrong index in data.jobs client

This commit is contained in:
divide29 committed 2025-10-21 13:04:34 +00:00
1 parent 85e784b3f6
commit ff57646be2
1 file changed
+1 -1
@@ -8,7 +8,7 @@ Dispatch = Dispatch or {}
Dispatch.SendAlert = function(data)
local ped = PlayerPedId()
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 GetEntityCoords(ped)