# Honor UI

### Video

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

### Usable Status

```
status = 1   HONOR_BAD
status = 2   HONOR_BAD
status = 3   HONOR_BAD
status = 4   HONOR_BAD
status = 5   HONOR_BAD
status = 6   HONOR_BAD
status = 7   HONOR_BAD
status = 8   HONOR_BAD
status = 9   HONOR_GOOD
status = 10  HONOR_GOOD
status = 11  HONOR_GOOD
status = 12  HONOR_GOOD
status = 13  HONOR_GOOD
status = 14  HONOR_GOOD
status = 15  HONOR_GOOD
status = 16  HONOR_GOOD
```

### Example

```lua
RegisterCommand("honor",function()
    local data = {
        status = math.random( 1, 16 ) -- min 1 max 16
    }    
    local honor = exports["qadr_ui"]:showHonor(data)
    Wait(3000)
    honor:hide()
    Wait(1000)
    honor:show()
    Wait(2000)
    honor:clear()
    local data = {
        status = math.random( 1, 16 ),  -- min 1 max 16
        hideTimeOut = 3                 -- seconds  If you set this value, honor will hide after this time.
    }    
    local honor = exports["qadr_ui"]:showHonor(data)
end)
```


---

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