Hides an action button from the inventory UI without removing it.
Hides an action button from the inventory UI without removing it.
exports['jaksam_inventory']:hideActionButton(id)
-- Hide a button temporarilyexports['jaksam_inventory']:hideActionButton('police_actions')-- Hide button when player is off-dutyAddEventHandler('esx:setJob', function(job) if job.name ~= 'police' then exports['jaksam_inventory']:hideActionButton('police_actions') endend)