Skip to content
/the Headquarters edited this page Dec 20, 2020 · 6 revisions

Add suport for jobs like esx_policejob (Updated: 19-12-2020)

Open esx_policejob/client/main.lua

Find function: OpenBodySearchMenu(player) and remove it. Add this code:

function OpenBodySearchMenu(player)
	TriggerEvent("dp_inventory:openPlayerInventory", GetPlayerServerId(player), GetPlayerName(player))
end

You can do this for all default ESX jobs with the function OpenBodySearchMenu(player)