# Props

* You can define props to spawn at restaurants which can be linked to events and allow players to trigger certain things in the props.lua file
* The `key` is the restaurant name
* The coords for the prop must be `vector4`
* Some events require args passing with the event&#x20;

```lua
--props per restaurant
Config.Props = {
    ['My New Restaurant Name'] = {
        { 
            enabled = true, -- set to true to enable this prop
            Model = 'prop_cctv_cont_02',
            Coords = vector4(796.43, -748.78, 32.51, 0),
            Icon = 'fa-solid fa-box',
            Label = 'View CCTV',
            Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name, 
            Distance = 3.0,
            Event = 'lusty94_restaurants:client:OpenCCTVMenu',
            args = { restaurantName = "My New Restaurant Name" }, --✅ Make Sure To Pass restaurantName
        },
        { 
            enabled = true, -- set to true to enable this prop
            Model = 'bkr_prop_fakeid_clipboard_01a',
            Coords = vector4(811.61, -749.79, 28.02, 87.94),
            Icon = 'fa-solid fa-clipboard',
            Label = 'toggle Duty',
            Distance = 3.0,
            Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name, 
            Event = 'lusty94_restaurants:client:ToggleDuty',
        },
    },
}
```
