Necessities

  • ESX/es_extended (not examined with ESX ultimate)

Obtain

Video
https://streamable.com/f0n9t2

Menu instance
esx_policejob/consumer/most important.lua
Seek for knowledge.present.worth == ‘vehicle_interaction’

Change this stuff:

if DoesEntityExist(car) then
   desk.insert(parts, {label = _U('vehicle_info'), worth="vehicle_infos"})
   desk.insert(parts, {label = _U('pick_lock'), worth="hijack_vehicle"})
   desk.insert(parts, {label = _U('impound'), worth="impound"})
   if GetVehicleClass(car) == 15 or GetVehicleClass(car) == 16 then
      desk.insert(parts, {label = "Verify Blackbox", worth="blackbox"})
   finish
finish
if motion == "search_database" then
    LookupVehicle()
elseif motion == "blackbox" then
    ESX.TriggerServerCallback("esx_blackbox:getEntry", perform(knowledge)
            native parts = {}

            for i = 1, #knowledge, 1 do
                desk.insert(parts, {label = "Entry " .. i, worth = knowledge[i]})
            finish

            ESX.UI.Menu.Open("default", GetCurrentResourceName(), "blackbox_interaction", {
                    title = "Blackbox knowledge",
                    align = "top-left",
                    parts = parts
                }, perform(data3, menu3)
                    ESX.UI.Menu.Open( "default", GetCurrentResourceName(), "blackbox_entry",
                        {
                            title = "Blackbox knowledge",
                            align = "top-left",
                            parts = {
                                {label = "View document", worth = "view_rec"},
                                {label = "Delete entry", worth = "delete"}
                            }
                        }, perform(data4, menu4)
                            if data4.present.worth == "view_rec" then
                                TriggerEvent("esx_blackbox:viewRecord", data3.present.worth)
                            elseif data4.present.worth == "delete" then
                                TriggerServerEvent("esx_blackbox:deleteEntry", "entry", data3.present.worth)
                                menu4.shut()
                                menu3.shut()
                            finish
                        finish, perform(data4, menu4)
                            menu4.shut()
                        finish)
                finish, perform(data3, menu3)
                    menu3.shut()
                finish)
        finish, "plate", GetVehicleNumberPlateText(car))
elseif DoesEntityExist(car) then

Data

  • The planes/helicopters are spawned domestically
  • Use /removeBlackboxVeh to delete the spawned autos
  • I do know it’s not excellent in the meanwhile



Looking for paid scripts? Click here