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

# Exports

> Server-side exports available for the Prompt Ammunation Robbery resource

## Server Exports

All exports require a valid location key from `Config.Stores` (e.g. `"PillboxHill"`, `"PaletoBay"`, `"CypressFlats"`).

### Reset

Resets the robbery at the given location, clearing active state and restoring the store.

```lua theme={null}
exports['projectx-ammunationrobbery-prompt']:Reset('PillboxHill')
```

**Returns**

* `true` if the location exists and was reset successfully

***

### IsRobberyInProgress

Returns whether a robbery is currently active at the given location.

```lua theme={null}
local active = exports['projectx-ammunationrobbery-prompt']:IsRobberyInProgress('PillboxHill')
```

**Returns**

* `true` if a robbery is in progress at that location, `false` otherwise

***

### GetActiveRobberyCount

Returns the total number of active Ammunation robberies across all locations.

```lua theme={null}
local count = exports['projectx-ammunationrobbery-prompt']:GetActiveRobberyCount()
```

**Returns**

* `count` (number) — total active robberies
