# Disable Mission NPC

#### Getting a Job for House Robbery

* **Remove the NPC:**
  * To disable the NPC, set the `cfg.missionNPCs` table in `data/npcs.lua` to an empty table.
* **Get a Job:**
  * Use the server event below to receive a house robbery job from another resource. Here are some examples:

```lua
-- Example 1: Basic usage (no source and no options)
TriggerServerEvent('rm_houserobbery:server:createJob')

-- Example 2: With a target player's server ID (e.g., 42)
TriggerServerEvent('rm_houserobbery:server:createJob', 42)

-- Example 3: With options only (no specific source)
TriggerServerEvent('rm_houserobbery:server:createJob', nil, {
    ignorePoliceCount = true,
    ignorePlayerCooldown = true,
    ignoreGlobalCooldown = false
})

-- Example 4: With both a source and options
TriggerServerEvent('rm_houserobbery:server:createJob', 42, {
    ignorePoliceCount = false,
    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/house-robbery-with-welding-minigame/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.
