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

Crafting Menu UI

You can create native crafting menu ui

PreviousPause Menu UINextUsable Legendary Animal Maps

Last updated 1 year ago

Video

Example

RegisterCommand("crafting",function()
    local data = {
        header = "Title",
        tipText = "Footer",
        mainDescription = "Main Description", -- if you set this value, you can't use ingredients
        Ingredients = true, -- if you set mainDescription you cant work with ingredients
        ShowRpgPlayer = true,
        showLongDescription = false,
        craftItems = {
            {
                enabled = true,
                overpower = false,
                texture = "reinforced_survivalist_bandolier",
                textureDictionary = "inventory_items",
                count = nil,
                text = "First Item",
                health = 3,                               -- [-10 - 11]
                healthDurationCategory = nil,             -- [0 - 3]
                stamina = nil,                            -- [-8 - 8  12 = overpowered]
                staminaDurationCategory = nil,            -- [0 - 3]
                deadeye = nil,                            -- [-10 - 11]
                deadeyeDurationCategory = nil,            -- [0 - 3]
                healthCore = 7,                           -- [-8 - 8  12 = overpowered]
                healthCoreDurationCategory = nil,         -- [0 - 3]
                staminaCore = 8,                          -- [-10 - 11]
                staminaCoreDurationCategory = nil,        -- [0 - 3]
                deadeyeCore = nil,                        -- [-8 - 8  12 = overpowered]
                deadeyeCoreDurationCategory = nil,        -- [0 - 3]
                staminaHorse = nil,                       -- [-10 - 11]
                staminaHorseDurationCategory = nil,       -- [0 - 3]
                healthHorse = nil,                        -- [-8 - 8  12 = overpowered]
                healthHorseDurationCategory = nil,        -- [0 - 3]
                staminaCoreHorse = nil,                   -- [-10 - 11]
                staminaCoreHorseDurationCategory = nil,   -- [0 - 3]
                healthCoreHorse = nil,                    -- [-8 - 8  12 = overpowered]
                healthCoreHorseDurationCategory = nil,    -- [0 - 3]
                recipe = {                                -- [max 3 item]
                    {
                        itemname = "First Item First Recipe Item",
                        visible = true,
                        texture = "awards_set_r_003",
                        textureDictionary = "toast_awards_set_r",
                        count = 1,
                        enabled = true,
                        inUse = true,
                    },
                    {
                        itemname = "First Item Second Recipe Item",
                        visible = true,
                        texture = "awards_set_r_002",
                        textureDictionary = "toast_awards_set_r",
                        count = 2,
                        enabled = true,
                        inUse = true,
                    },
                    {
                        itemname = "First Item Third Recipe Item",
                        visible = true,
                        texture = "awards_set_r_004",
                        textureDictionary = "toast_awards_set_r",
                        count = 3,
                        enabled = true,
                        inUse = true,
                    },
                },
                callbackfunction = function(text)
                    print(text.." callback")
                end
            },
        }
    }
    exports["qadr_ui"]:craftingMenuCreator(data)
end)
⚒️