> For the complete documentation index, see [llms.txt](https://abdulkadir-aktas.gitbook.io/qadr_docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_ui/mission-text-ui.md).

# Mission Text UI

### Video

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

### Example

```lua
RegisterCommand("createMissionText",function()
    local data = {
        rawLabel0 = "rawLabel0",
        rawValue0 = "rawValue0",
        rawLabel1 = "rawLabel1",
        rawValue1 = "rawValue1",
        show = true,
    }
    local missiontext = exports["qadr_ui"]:createMissionText(data)
    Wait(3000)
    local data = {
        rawLabel0 = "Label 1 :",
        rawLabel1 = "Label 2 :",
        show = true,
    }
    missiontext:update(data)
    Wait(3000)
    local data = {
        rawValue0 = "Value 1",
        rawValue1 = "Value 2",
        show = true,
    }
    missiontext:update(data)
    Wait(3000)
    local data = {
        show = false,
    }
    missiontext:update(data)
    Wait(3000)    
    missiontext:hide()
    Wait(3000)
    missiontext:show()
    Wait(3000)
    missiontext:clear()
end)
```
