# Horse Info UI

### Enable/Disable

{% hint style="success" %}
You can enable/disable horse info system. Check `horseinfo = true` value in `conf.lua`
{% endhint %}

{% hint style="warning" %}
If you enable this system, idle resource usage increase to 0.2
{% endhint %}

### Description

This function brings the complete information of the horse whose information you want to look at, without entering any external data. If you own the horse, you can also see the horse information on the quick selection screen.

### Video

{% embed url="<https://youtu.be/WiOJIrnYg2Y>" %}

### Set own horse data example

{% hint style="warning" %}
Use this code in your script where you spawn your horse, after spawning your horse.
{% endhint %}

```lua
local data = {								
    entity = spawnedHorse,
    name = "Test Name" -- You can set own horse name. 
    -- You must set Citizen.InvokeNative(0xD2CB0FB0FDCB473D,PlayerId(), spawnedHorse)
}
exports["qadr_ui"]:setHorseData(data)

```


---

# 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://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_ui/horse-info-ui.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.
