> For the complete documentation index, see [llms.txt](https://hrscripts.gitbook.io/hrscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hrscripts.gitbook.io/hrscripts-documentation/resources/hrhostage.md).

# HRHostage

## Installation

* Download [HRHostage](https://github.com/HRScripts/HRHostage) and its dependency, [HRLib](broken://pages/Ep5kSHLO83LleEO9rVP4)
* Configure them from their config.lua file
* Write this in your server.cfg:

```lua
start HRLib
start HRHostage
```

## Config Preview

```lua
local config = {}

config.language = 'en'

config.radius = 2.0 -- Radius for searching a player

config.controls = {
    release = 'E',
    kill = 'K'
}

config.commandName = 'takehostage'

config.weapons = {
    'WEAPON_PISTOL',
    'WEAPON_COMBATPISTOL',
    'WEAPON_MINISMG'
}
```

## Video Preview

{% embed url="<https://www.youtube.com/watch?ab_channel=HRScriptsDevelopment&v=-BPpLlwhVUw>" %}
