> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove territory points

> Remove points from a faction in a territory from an external script.

Removes points from a faction in a territory from an external script.

```lua Export theme={null}
exports["drugs_creator"]:removeTerritoryPoints(territory, job, amount)
```

### Parameters

| Name        | Data Type | Description                                                                     |
| ----------- | --------- | ------------------------------------------------------------------------------- |
| `territory` | string    | Territory name, or `"*"` to target all territories                              |
| `job`       | string    | Job/gang name to remove points from, or `"*"` to target all configured factions |
| `amount`    | integer   | Number of points to remove (must be > 0)                                        |

## Example

```lua theme={null}
-- Remove 5 points from "vagos" in "RANCHO"
exports["drugs_creator"]:removeTerritoryPoints("RANCHO", "vagos", 5)
```


## Related topics

- [Territories](/drugs-creator/server/territories/index.md)
- [Reset territory points](/drugs-creator/server/territories/reset-territory-points.md)
- [Give territory points](/drugs-creator/server/territories/give-territory-points.md)
- [Server](/drugs-creator/server/index.md)
