Arius Scripts
  • Resources
    • 🚘Arius Vehicleshop
      • ðŸ’ŧInstalation
      • 📰Configuration
      • ðŸŽĨPreview
    • ðŸ‘ŪArius Policejob
      • ðŸ’ŧInstallation
      • 📰Configuration
      • ðŸŽŊSuspect Interactions
      • 🔷Interactions
    • ðŸ’ļArius Billing
      • ðŸ’ŧInstallation
  • 🚑Arius Ambulancejob
    • ðŸ’ŧInstallation
    • 📰Configuration
      • ðŸĨAdd Hospitals
      • ðŸ‡ŦðŸ‡ēHospital Zone
      • ðŸ“ĶAdd Stashes
      • 🛒Add Shops
      • 🚗Add Garages
      • ðŸĶīAdd Injuries
    • ⚡Exports & Events
  • ðŸĶŒArius Hunting
    • ðŸ’ŧInstallation
    • 📰Configuration
      • ðŸŽŊTarget Setup
      • 🔓Aim Block
      • ⛹Campfire
      • ðŸđHunting Zones
Powered by GitBook
On this page
  1. Arius Hunting
  2. Configuration

Aim Block

Last updated 1 year ago

Aimblock allows you to block certain weapons from shooting players

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

By setting global value to false you allow the aim block only functional in the hunting zones otherwise its gonna work everyone even out of hunting zones

global = false

How to add more weapons to block

weaponsToBlock = { 
     `WEAPON_HEAVYSNIPER_MK2`,
     `WEAPON_PISTOL`,
     `WEAPON_ASSAULTRIFLE`,
     -- add how many weapons you want
}
ðŸĶŒ
📰
🔓
https://github.com/Arius-Scripts/ars_hunting/blob/a84cca5f4d3bd8257a82d9b5f65c105c55572c39/shared/config.lua#L14C1-L21C2