# Triggerbot System

{% hint style="info" %}
*BetterFight Evolved features an advanced Triggerbot system designed to elevate the competitive edge in FiveM servers, particularly in PVP and zombie modes. This feature streamlines targeting, ensuring that players can focus on strategy and skill, rather than struggling with precision aim.*
{% endhint %}

### Key Features:

* **Entity Targeting:** The Triggerbot system intelligently identifies nearby entities when aiming, ensuring that your shots are directed towards your intended target.
* **Headshot Precision:** Once a target is acquired, the system automatically adjusts bullet trajectory, teleporting the shot directly to the head of the entity for guaranteed critical hits.
* **Seamless Integration:** Easily call the Triggerbot export within your scripts, allowing for effortless implementation in various game modes.
* **Customizable Settings:** Server administrators can fine-tune the Triggerbot parameters to balance gameplay, including range limitations and refresh conditions.

<figure><img src="/files/hf6SFKLitMZui0BJOgxM" alt=""><figcaption></figcaption></figure>

***

#### Configuration Options:

```lua
Config.Triggerbot = {
    Enabled = true, --Enables/Disables triggerbot, this only allows the code to be registered and usable.
    EnabledOnStart = true, --Enables triggerbot on resource start
    MaxRange = 100.0, --Max range for triggerbot
    RefreshRate = 0, --Refresh rate for triggerbot
    UseTriggerbotToggleCommand = false, --Enables/Disables triggerbot command
    TriggerbotCommand = "triggerbot", --Command to toggle triggerbot
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cisoko.net/betterfight-evolved/about-bfe/features/triggerbot-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
