> For the complete documentation index, see [llms.txt](https://docs.brutalscripts.com/site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.brutalscripts.com/site/scripts/radial/adding-new-buttons.md).

# Adding new buttons

{% hint style="danger" %}
If you try to use a bruta\_gangs event but the brutal\_gangs script doesn't run on your server you won't see the button which is created with that event.&#x20;
{% endhint %}

## Create a singe button &#x20;

Open the config.lua file and add this table inside of the 'Menu' table.

```lua
{
    label = 'Example',
    allowedjobs = false,  -- Set to 'false' to allow it for everyone. | This can only be used if 'blacklistedjobs' is also set to 'false'.
    blacklistedjobs = false, -- Set to 'false' to allow it for everyone.
    icon = '<img src="assets/bill.png"></img>',
    description = 'Example description',
    event = 'example:event',
},
```

Edit the texts and the event for your needs

### Create a button container

You can create a container which can contain multiple other buttons.

Open the config.lua file and add this table inside of the 'Menu' table.

```lua
 {
    label = 'Example container',
    allowedjobs = false,  -- Set to 'false' to allow it for everyone. | This can only be used if 'blacklistedjobs' is also set to 'false'.
    blacklistedjobs = false, -- Set to 'false' to allow it for everyone.
    icon = '<img src="assets/siren.png"></img>',
    description = 'Example description',
    table = {
        {label = 'Example button', icon = '<img src="assets/police.png"></img>', description = 'Example Description...', event = 'example:event'},
        {label = 'Example button', icon = '<img src="assets/ambulance.png"></img>', description = 'Example Description...', event = 'example:event'},
        {label = 'Example button', icon = '<img src="assets/mechanic1.png"></img>', description = 'Example Description...', event = 'example:event'},
        {label = 'Example button', icon = '<img src="assets/mechanic2.png"></img>', description = 'Example Description...', event = 'example:event'},
    }
},
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.brutalscripts.com/site/scripts/radial/adding-new-buttons.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
