# Common errors

{% hint style="danger" %}

#### You lack the required entitlement to use Complete Hunting

{% endhint %}

Try restarting your server and make sure your server license key is correct. If you bought the resource on the wrong account, you can transfer it to another account on keymaster.

{% hint style="danger" %}

#### You renamed the resource

{% endhint %}

Please do not rename the resource, otherwise the Triggers inside it won't work and you won't be able to use the script correctly.

{% hint style="danger" %}

#### Animals not spawning or you don't see any blips in the zone

{% endhint %}

The script has two main type of execution:

* Using **Native animals**: native animals are the animals spawned automatically by GTA (not by complete\_hunting script); if you are using them in your config (`Config.NativeAnimal = true`) it means that you won't have any blips on the map appearing, but you will need to find the animals in the game and hunt them. This is the recommended option to use in your game since it's more RP and less stressful for your server to run.
* Using **NON Native animals**: non native animals are instead the animals spawned by the script, it means that when you are in a hunting zone the server will start to spawn random animals with a blip on them in the map. To enable them set `Config.NativeAnimal = false` and also  `Config.huntAllMap = false.`

If you are not seeing any animals in the 99% of the cases is because you are using the Native animals in the settings, not because the script is not working.

{% hint style="danger" %}

#### Campfire not working

{% endhint %}

If the campfire is not working, neither the command /campfire, see if Config.UseNativeCampfire is enabled. If true, using that setting you will be able to use only the campfires already existing by default in the map but not spawn your owns. To fix this, just set Config.UseNativeCampfire to false.

{% hint style="danger" %}

#### "Where do you get hunting weapons?"

{% endhint %}

The script currently doesn't support a system to get weapons usable only for hunting, so in order to hunt, every player needs to bring their own weapons.

{% hint style="danger" %}

#### ERROR: No such export Progressbar in resource esx\_progressbar

{% endhint %}

Make sure you have downloaded the script esx\_progressbar and it's updated to the latest version.

{% hint style="danger" %}

#### ERROR: No such export addModel in resource ox\_target

{% endhint %}

This is caused because you have the option `Config.UseQTarget = true` in the config file. If you are not using the script with the target set this option to `false` or i will cause errors, instead if you want to use the script with the target make sure to download the latest update od ox\_target.

> *If your error is not here and it has a simple solution, you can comment it so that we can add it.*


---

# 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://complete-scripts.gitbook.io/complete-scripts/scripts/complete-hunting/common-errors.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.
