Rend visible un bouton d’action précédemment caché dans l’interface de l’inventaire.
Rend visible un bouton d’action précédemment caché dans l’interface de l’inventaire.
exports['jaksam_inventory']:showActionButton(id)
-- Affiche un bouton qui avait été enregistré comme cachéexports['jaksam_inventory']:showActionButton('police_actions')-- Affiche le bouton quand le joueur obtient un job spécifiqueAddEventHandler('esx:setJob', function(job) if job.name == 'police' then exports['jaksam_inventory']:showActionButton('police_actions') endend)