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
  • Variables
  • Example
  1. qadr_ui

Shop Info UI

You can create item info UI and easily update it.

PreviousEmote UI / Radial MenuNextCard Game UI

Last updated 2 years ago

Video

Variables

itemLabel               -- Must Be String
isVisible               -- Must Be Boolean
itemDescription         -- Must Be String
purchaseLabel           -- Must Be String
purchasePrice           -- Must Be Int
tokenPrice              -- Must Be Int
modifiedPriceVisible    -- Must Be Boolean
purchaseModifiedPrice   -- Must Be Int
isGoldPrice             -- Must Be Boolean
modifiedPriceGold       -- Must Be Int
ammoVisible             -- Must Be Boolean
ammoCurrent             -- Must Be Int
ammoMax                 -- Must Be Int
ammoTextureDictionary   -- Must Be String, Also you can use all texture not only ammo
ammoTexture             -- Must Be String, Also you can use all texture not only ammo
mailVisible             -- Must Be Boolean
mailCurrent             -- Must Be Int

Example

RegisterCommand("shopInfo",function()
    local info = exports["qadr_ui"]:shopItemInfo({
        itemLabel = "itemLabel",
        isVisible = true,
        itemDescription = "itemDesc",
        purchaseLabel = "pLabel",
        purchasePrice = 100,
        tokenPrice = 0,
        modifiedPriceVisible = true,
        purchaseModifiedPrice = 1,
        isGoldPrice = false,
        modifiedPriceGold = 0,
        ammoVisible = true,
        ammoCurrent = 1,
        ammoMax = 5,
        ammoTextureDictionary = "ammo_types",
        ammoTexture = "arrow_type_fire",
        mailVisible = false,
        mailCurrent = 2,
    })
    Wait(2000)
    info:update({        
        ammoTextureDictionary = "mp_hub_coupons",
        ammoTexture = "coupon_offer_advanced_camera_discount_30_percent",
    })
    Wait(2000)
    info:update({        
        itemLabel = "Updated title",
        isVisible = true,
        itemDescription = "Updated itemDesc",
        purchaseLabel = "Updated pLabel",
        purchasePrice = 3,
        tokenPrice = 0,
        modifiedPriceVisible = false,
        purchaseModifiedPrice = 100,
        isGoldPrice = true,
        modifiedPriceGold = 10,
        ammoVisible = false,
        ammoCurrent = 10,
        ammoMax = 50,
        mailVisible = true,
        mailCurrent = 2,
    })
    Wait(5000)
    info:clear()
end)
🛒