# NPCs & Blips

## 📍 NPCs & Blips

NPCs and blips are configured in `config/npcs.lua`.

### NPC Configuration

```
Config.NPCs = {
    {
        id = 'main_npc',
        model = 's_m_m_trucker_01',
        coords = vector4(152.38, -3210.87, 5.91, 271.08),
        label = 'Trucking Job Center',
        scenario = 'WORLD_HUMAN_CLIPBOARD'
    }
}
```

### Adding Multiple NPCs

```
Config.NPCs = {
    {
        id = 'npc_city',
        model = 's_m_m_trucker_01',
        coords = vector4(152.38, -3210.87, 5.91, 271.08),
        label = 'City Office',
        scenario = 'WORLD_HUMAN_CLIPBOARD'
    },
    {
        id = 'npc_port',
        model = 's_m_m_trucker_01',
        coords = vector4(1200.0, -3000.0, 5.0, 180.0),
        label = 'Port Office',
        scenario = 'WORLD_HUMAN_CLIPBOARD'
    }
}
```

### Blip Configuration

```
Config.Blips = {
    office = {
        sprite = 477,
        color  = 5,
        scale  = 0.8,
        label  = 'Trucking Job Center'
    },
    pickup = {
        sprite = 478,
        color  = 3,
        scale  = 0.7,
        label  = 'Pickup Point'
    },
    delivery = {
        sprite = 478,
        color  = 2,
        scale  = 0.7,
        label  = 'Delivery Point'
    },
    vehicleReturn = {
        sprite = 369,
        color  = 38,
        scale  = 0.7,
        label  = 'Vehicle Return'
    }
}
```

Useful links for blip reference:

* Blip Sprite List: <https://docs.fivem.net/docs/game-references/blips/>
* Blip Color List: <https://docs.fivem.net/docs/game-references/blips/#blip-colors>


---

# Agent Instructions: 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://elena-scripts.gitbook.io/elenascripts/jobs-and-activities/truck-job-v2/npcs-and-blips.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.
