đŸ’ĨMission Text UI

Video

Example

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)

Last updated