# Disable Mission NPC

## Tracking the Truck

* **Remove the NPC:**
  * To disable the NPC, set the `cfg.missionNPCs` table in `data/npcs.lua` to an empty table.
* **Start Tracking the Truck:**

  * Use the server event below and spawn a truck from another resource to find out its location.. Here are some examples:

  ```lua
  -- Basic usage:
  TriggerServerEvent('rm_banktruck:server:startTrackingTruck')

  -- With a target player's server ID (e.g., 1)
  TriggerServerEvent('rm_banktruck:server:startTrackingTruck', 1)

  -- With additional parameters:
  TriggerServerEvent('rm_banktruck:server:startTrackingTruck', nil, {
      price = 0,
      ignorePoliceCount = true,
      ignorePlayerCooldown = true
  })

  -- Specifying a mode value:
  TriggerServerEvent('rm_banktruck:server:startTrackingTruck', 1, {
      price = 0,
      ignorePoliceCount = true,
      ignorePlayerCooldown = true
  })
  ```

These examples show different ways to call the event, depending on your needs. Adjust the parameters as necessary for your specific use case.


---

# 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://docs.rainmad.com/resources/bank-truck-robbery-4-in-1/disable-mission-npc.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.
