# Aim Block

{% hint style="info" %}
Aimblock allows you to block certain weapons from shooting players
{% endhint %}

{% embed url="<https://github.com/Arius-Scripts/ars_hunting/blob/a84cca5f4d3bd8257a82d9b5f65c105c55572c39/shared/config.lua#L14C1-L21C2>" %}

```lua
Config.AimBlock = {
    enable = true,
    global = true,
    weaponsToBlock = { 
        `WEAPON_HEAVYSNIPER_MK2`,
    }
}
```

> By setting global value to <mark style="color:red;">false</mark> you allow the aim block only functional in the hunting zones otherwise its gonna work everyone even out of hunting zones

```lua
global = false
```

> How to add more weapons to block

```lua
weaponsToBlock = { 
     `WEAPON_HEAVYSNIPER_MK2`,
     `WEAPON_PISTOL`,
     `WEAPON_ASSAULTRIFLE`,
     -- add how many weapons you want
}
```
