Lighter Item (OX_inventory)

We have added integration with OX_Inventory to setup a lighter item, allowing users to start a fire on your server.

To begin, navigate to the config.lua file and enable OX_Inventory on line 8.

Next, the following code needs to be added to ox_inventory/data/items.lua:

['lighter'] = {
        label = 'Lighter',
        weight = 220,
        server = {
            export = 'smartfires.useLighter',
        },
    },

We have plans to add this to other frameworks in the near future.

Last updated