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

# Others

## If you are using NPC Dialog:&#x20;

```lua
    {
        ped         = 'csb_burgerdrug',
        anim        = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
        coords      =  vector4(-504.14, -697.66, 32.67, 291.65),
        job         = "all", -- { ["police"] = 0, ["ambulance"] = 0}  if you are using target
        gang        = "all", -- { ["ballas"] = 2, ["thelostmc"] = 0}  if you are using target
        groups      = "all", -- { ["police"] = 2, ["ambulance"] = 0}  if you are using intearaction
        firstname   = 'MITCH',
        lastname    = 'BUN',
        rep         = 0,
        mission     = 'Snr Bun Worker',
        text        = 'Hey there, I do not think we have crossed paths before. I am Mitch, and I am in charge of the Snr Buns. You thinking about joining our crew ?',
        buttons     = {
            {
                text = 'Sign in/out',
                shop =false,
                rep = 0,
                action= {
                    isServer= true,
                    event= 'zat-snrbuns:server:ToggleSingin',
                    data= 1
                },
                canInteract = CanToggleSignIn(),
            },
            {
                text = 'Work Clothes',
                shop =false,
                rep = 0,
                action= {
                    isServer= false,
                    event= 'zat-snrbuns:client:Clothes',
                    data= {}
                },
                canInteract = true
            },
            {
                text = 'Leave Conversation',
                shop =false,
                rep = 0,
                action= {
                    isServer= false,
                    event= 'zat-dialog:client:HideUi',
                    data= {}
                },
                canInteract = true
            },
            

        },
        items={}
    }, 
```


---

# 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:

```
GET https://zat-scripts.gitbook.io/zat-scripts/qbcore/snrbuns/others.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
