> For the complete documentation index, see [llms.txt](https://lusty94-scripts.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lusty94-scripts.gitbook.io/documentation/paid/bars/props.md).

# Props

{% hint style="success" %}
Adding More **`PROPS`**
{% endhint %}

* Adding more props that bars can use is very simple via the **`config.lua`** file
* To add another prop that a bar can use you must pass the **`BarName`** as the key and then customize the values to suit your needs
* To add another prop simply add your **`BarName`** as they **`key`** and then customize the **`values`** to suit your server needs in **`Config.Props`** please note some target interactions for props and   require args passing with the target

***

{% code fullWidth="false" %}

```lua
Config.Props = {
    ['Example Bar'] = {
        { 
            Model = 'bkr_prop_fakeid_clipboard_01a', -- prop model
            Coords = vector4(-1404.56, -600.13, 31.36, 110.13), -- props spawn coords
            Icon = 'fa-solid fa-car', -- icon for target interaction
            Label = 'Toggle Duty', -- label for target interaction
            Job = Config.CoreSettings.Jobs['Example Bar'].name, -- job set in Config.CoreSettings.Jobs for target interaction
            Distance = 3.0, -- distance for target interaction
            Event = 'lusty94_bars:client:ToggleDuty', -- event name triggered 
        },
        { 
            Model = 'prop_crate_11e', -- prop model
            Coords = vector4(-1400.98, -603.14, 31.37, 120.67), -- props spawn coords
            Icon = 'fa-solid fa-box', -- icon for target interaction
            Label = 'Get House Beer', -- label for target interaction
            Job = Config.CoreSettings.Jobs['Example Bar'].name, -- job set in Config.CoreSettings.Jobs for target interaction
            Distance = 3.0, -- distance for target interaction
            Event = 'lusty94_bars:client:GetHouseBeer', -- event name triggered 
            args = { barName = 'Example Bar' }, --[[ ✅ Make Sure To Pass barName For house beer input  THIS MUST MATCH THE KEY!]]
        },
        { 
            Model = 'sf_prop_sf_bowl_fruit_01a', -- prop model
            Coords = vector4(-1399.06, -601.54, 31.36, 249.36), -- props spawn coords
            Icon = 'fa-solid fa-box', -- icon for target interaction
            Label = 'Get Ingredients', -- label for target interaction
            Job = Config.CoreSettings.Jobs['Example Bar'].name, -- job set in Config.CoreSettings.Jobs for target interaction 
            Distance = 3.0, -- distance for target interaction
            Event = 'lusty94_bars:client:GetIngredients', -- event name triggered 
            args = { barName = 'Example Bar' }, --[[ ✅ Make Sure To Pass barName For ingredients menu  THIS MUST MATCH THE KEY!]]
        },
    },
}
```

{% endcode %}

***

{% hint style="warning" %}
Some target locations for props and box zones will need **`arguments`** passing with them for various events to **`determine which bar`** is accessing that function
{% endhint %}

{% hint style="warning" %}
⚠️ The **`BarName`** args must match the **`BarName`** key&#x20;
{% endhint %}

```lua
--this is a target example for opening the ingredients menu which needs the barName argument passed the same applies to the supplies menu and various other target zones
{ 
    Model = 'sf_prop_sf_bowl_fruit_01a', -- prop model
    Coords = vector4(-1399.06, -601.54, 31.36, 249.36), -- props spawn coords
    Icon = 'fa-solid fa-box', -- icon for target interaction
    Label = 'Get Ingredients', -- label for target interaction
    Job = Config.CoreSettings.Jobs['Example Bar'].name, -- job set in Config.CoreSettings.Jobs for target interaction  
    Distance = 3.0, -- distance for target interaction
    Event = 'lusty94_bars:client:GetIngredients', -- event name triggered 
    args = { barName = 'Example Bar' }, --[[✅ Make Sure To Pass barName THIS MUST MATCH THE KEY!]]
},
```
