[ESX] Advanced Job System V1.1.0

are you talking about like esx_inventoryhud? - if you want to use that inventory interface on a client machine, you need to have any open inventory functionality in other resources trigger the network event for that opens the inventory hud. for esx_inventoryhud, it’s all documented on their wiki: Job (society) storages · Trsak/esx_inventoryhud Wiki · GitHub

to have images related to items, you’ll need to put .pngs or .jpegs in the proper folder within the inventory resource and name it the same as the item name column in the database.

to make any item work with ESX, you need to register it as a usable item and define the functionlity in the callback. the pattern is this:

ESX.RegisterUsableItem('itemname', function(source)  
      -- anything in this callback function gets executed when player uses the item
      -- have whatever functionality you want here!

      -- do this to remove it from their inventory
    local xPlayer = ESX.GetPlayerFromId(source)
    xPlayer.removeInventoryItem('itemname', 1)
end)

i know i’m not the OP but hopefully that helps! :smiley:

2 Likes