Qadr_Docs
  • qadr_identity
    • Installation
      • Reboot 2023
      • Old RedemRP
    • Purchasable ambients For Reboot Version
      • Blackwater Saloon
      • Valentine Saloon
      • Valentine Train Station
      • Saint Denis Bazaar
      • Saint Denis Prison
      • Saint Denis Trolley - Soon
  • qadr_fishing
  • qadr_panel
  • qadr_train
    • For Reboot 2023
  • Qadr_Map
  • qadr_ui
    • Ledger System
    • 📒Usable Handheld Catalogue
    • 🐴Legendary Animal Menu
    • 🤠Player Menu UI
    • â¸ī¸Pause Menu UI
    • âš’ī¸Crafting Menu UI
    • đŸ—ēī¸Usable Legendary Animal Maps
    • đŸ—ēī¸Map Icon
    • ⭕Meters UI
    • 🃏Ability UI
    • đŸ‘Žâ€â™€ī¸Wanted UI
    • 💀Death Screen
    • 📃Emote UI / Radial Menu
    • 🛒Shop Info UI
    • 🃏Card Game UI
    • 🤠Bounty Poster
    • 🛂Honor UI
    • đŸ—’ī¸Challenge Notification Disable
    • đŸŽ–ī¸Mini Leader Board
    • 📋Board Notify
    • âš”ī¸Score UI
    • 👊Punch Bar
    • 🔄Count Down
    • 🚨Wanted UI - Outdated
    • đŸŒĄī¸Meters UI - OutDated
    • đŸ‘ī¸â€đŸ—¨ī¸Icons UI
    • đŸ—ēī¸Map UI
      • Mini Map
      • Map Info
      • Hovered Blip Name
    • đŸ›Ąī¸Rank UI
    • 🐟Fish UI
      • đŸŽŖBait UI
    • â„šī¸Info UI
    • đŸ’ĨMission Text UI
    • đŸ”ĢWeapon Info UI
    • 🐎Horse Info UI
    • 📔Message UI
    • 🤠Prompt Blip For Entities
  • qadr_train_creator - Standalone
Powered by GitBook
On this page
  • Video
  • Example
  1. qadr_ui

Score UI

PreviousBoard NotifyNextPunch Bar

Last updated 10 months ago

Video

Example

RegisterCommand("createScore",function()
    local data = {
        visible =  true,
        leftScore = tostring(math.random(0,30)),
        rightScore = tostring(math.random(0,30)),
        leftScoreColor = `COLOR_BLUE`,
        rightScoreColor = `COLOR_RED`,
        leftScoreTextColor = `COLOR_BLACK`,
        rightScoreTextColor = `COLOR_BLACK`,
        timerString = "", -- Must be string
        timerMessageString = "" -- Must be string
    }
    local score = exports["qadr_ui"]:createScore(data)
    Wait(2000)
    local data = {
        visible =  true,
        leftScore = tostring(math.random(0,30)),
        rightScore = tostring(math.random(0,30))
    }
    score:update(data)
    Wait(3000)
    local data = {
        visible =  true,
        leftScore = tostring(math.random(0,30)),
        rightScore = tostring(math.random(0,30))
    }
    score:update(data)
    Wait(3000)
    local data = {
        visible =  false,
        leftScore = tostring(math.random(0,30)),
        rightScore = tostring(math.random(0,30))
    }
    score:update(data)
    Wait(3000)
    local data = {
        visible =  true,
        leftScore = tostring(math.random(0,30)),
        rightScore = tostring(math.random(0,30))
    }
    score:update(data)
    Wait(3000)
    score:clear()
end)
âš”ī¸