> ## 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 Bounty Hunter resource

## Server Exports

### Reset

Cancels every running contract.

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

***

### HasActiveContract

Returns whether a player has an active contract.

```lua theme={null}
local active = exports['projectx-bountyhunter']:HasActiveContract(source)
```

**Parameters**

* `source` (number) — the player's server ID

**Returns**

* `true` if the player has an active contract, `false` otherwise

**Example**

```lua theme={null}
if exports['projectx-bountyhunter']:HasActiveContract(source) then
    print("Player " .. source .. " is on a contract")
end
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.