# Icons UI

### Video

{% embed url="<https://www.youtube.com/watch?v=a5MhNZO3rmw>" %}

### Info

* 1 = show
* 0 = hide
* You can use export

### Export Example

```lua
exports["qadr_ui"]:showhideicon("stamina",1)
exports["qadr_ui"]:showhideicon("deadeye",1)
exports["qadr_ui"]:showhideicon("healt",1)
exports["qadr_ui"]:showhideicon("horsehealt",1)
exports["qadr_ui"]:showhideicon("horsestamina",1)
```

### Command

* You can use command or disable or change command name. Check conf.lua

```
/show stamina
/hide stamina
```

### Default Values

if you want use export function, you need arguments. You can find conf.lua and set defaultvisibility for each icon. Do not change argue names.

You can change default values in config file

```lua
arguments = {
	["stamina"] = {
		defaultvisibilit = false,
		index = {0,1},	-- do not change
	},
	["deadeye"] = {
		defaultvisibilit = false,
		index = {2,3},	-- do not change
	},
	["healt"] = {
		defaultvisibilit = false,
		index = {4,5},	-- do not change
	},
	["horsehealt"] = {
		defaultvisibilit = false,
		index = {6,7},	-- do not change
	},
	["horsestamina"] = {
		defaultvisibilit = false,
		index = {8,9},	-- do not change
	},
	["horsecourage"] = {
		defaultvisibilit = false,
		index = {10,11},-- do not change
	},
}
```

You can use these commands for showing/hiding icons, check conf.lua

```lua
command = {
    hidecommandname = "hide",
    -- if you want disable command, set this to nil othervise set this to command name
    showcommandname = "show",
    -- if you want disable command, set this to nil othervise set this to command name
},
```


---

# 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/icons-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.
