This is great work, Honestly perfect, I just don’t know how I feel about everyone being able to use the feature no job specified so I was trying to add a specified job they had to be but for some reason its not working.
-- Key event
Citizen.CreateThread(function()
while true do
Wait(0)
if IsControlJustReleased(0, 38) and PlayerData.job ~= nil and PlayerData.job.name == 'police' and inMarker then
ESX.TriggerServerCallback('jsfour-criminalrecord:fetch', function( d )
SetNuiFocus(true, true)
open = true
SendNUIMessage({
action = "open",
array = d
})
end, data, 'start')
end
end
end)
Just to say up front , realy love all your scripts jsfour i have nearly all of them on my server , just one question any way on liking this to your mcc police tab , i am having isues with the borregister script ? Again love the work of art you bring us