If you are using ESX framework, you should follow the steps below.
es_extended/server/common.lua
Open this file with Notepad++ or VSCode
Paste the code below into an empty field.
exports("checkUsableItem", function(itemName) return Core.UsableItemsCallbacks[itemName] end)
Then save the file and that's it!
Last updated 2 years ago