Configuration

Actions

Lockmsith businesses have the ability to create locks, remove them, delete them, edit them, change them and of course make keys and cards. Most interactions are in the portable /locksmith menu or via the target when you hover the third eye on the door. Here is configuration for it.

Actions = {                -- Actions for business
    Command = 'locksmith', -- Command for business actions
    Target = {
        Icon = 'fas fa-hammer',
        Distance = 2.5,
    }
},

Models

Businesses also includes NPC to manage the business with insight into how it all works and for boss actions. You can change the model and entities as well.

CraftingTable = {                   -- Crafting table settings
    Model = `prop_tool_bench02_ld`, -- Model for crafting table
    Type = 3,                       -- Entity type for crafting table [1 = PED, 3, OBJECT]
    Target = {
        Icon = 'fas fa-hammer',
        Distance = 2.5,
    }
},
BossActions = {
    Model = `s_m_m_cntrybar_01`,
    Type = 1,
    Target = {
        Icon = 'fas fa-hammer',
        Distance = 2.5,
    }
},

But let's take a look on example of locksmith job.

Last updated