> ## 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 Default Fleeca Bank Robbery resource

## Server Exports

All location-based exports require a valid Fleeca location key from `Config.FleecaLocations` (e.g. `"RockfordHills"`, `"Legion"`, `"Burton"`, `"Alta"`, `"GrandSenoraDesert"`, `"BanhamCanyon"`).

### Reset

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

```lua theme={null}
exports['projectx-fleecabankrobbery-default']:Reset('RockfordHills')
```

**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-fleecabankrobbery-default']:IsRobberyInProgress('Legion')
```

**Returns**

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

**Example**

```lua theme={null}
local active = exports['projectx-fleecabankrobbery-default']:IsRobberyInProgress('Burton')
if active then
    print("Burton Fleeca is being robbed")
end
```

***

### GetActiveRobberyCount

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

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

**Returns**

* `count` (number) — total active robberies

**Example**

```lua theme={null}
local count = exports['projectx-fleecabankrobbery-default']:GetActiveRobberyCount()
print("Active Fleeca robberies: " .. count)
```
