> For the complete documentation index, see [llms.txt](https://docs.pingouin.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pingouin.dev/scripts-docs/decapitation-script/general-config.md).

# General config

## cfg.authWeapons

This config is a list of all the weapons that are used by the scriptto decapitate someone.

You can add new one by using this [website](https://wiki.rage.mp/index.php?title=Weapons), crating a new row with the hash inside brackets like this

```lua
[WEAPONHASH] = true,
```

if you want to delete one, juste set it at `false` or delete it from the list !

***

## cfg.ignorePlayers

If this config is set to ***true***, it will ignore players and not decapitate them. Otherwise it will have not effect.

```lua
cfg.ignorePlayers = false
```

***

## cfg.ignoreList

This is a list of all the peds on which the decapitation will have no effects. Hash is used by the script, so dont forget to put `GetHashKey("YOUR_PED_NAME").`

```lua
cfg.ignoreList = {
    [GetHashKey('a_c_cat_01')] = true,
    [GetHashKey('a_c_chickenhawk')] = true,
    [GetHashKey('a_c_chimp')] = true,
    [GetHashKey('a_c_chop')] = true,
}
```
