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
  1. qadr_ui

Legendary Animal Menu

PreviousUsable Handheld CatalogueNextPlayer Menu UI

Last updated 11 months ago

mapList
local mapList = {
        "BAYOU_NWA",
        "BIG_VALLEY",
        "CHOLLA_SPRINGS",
        "CUMBERLAND_FOREST",
        "GAPTOOTH_RIDGE",
        "GREAT_PLAINS",
        "GRIZZLIES",
        "HENNIGANS_STEAD",
        "HEARTLANDS",
        "RIO_BRAVO",
        "ROANOKE_RIDGE",
        "SCARLETT_MEADOWS",
        "TALL_TREES",
    }

Example

RegisterCommand("legendaryAnimalMenu",function(src,args,raw)
    local mapList = {
        "BAYOU_NWA",
        "BIG_VALLEY",
        "CHOLLA_SPRINGS",
        "CUMBERLAND_FOREST",
        "GAPTOOTH_RIDGE",
        "GREAT_PLAINS",
        "GRIZZLIES",
        "HENNIGANS_STEAD",
        "HEARTLANDS",
        "RIO_BRAVO",
        "ROANOKE_RIDGE",
        "SCARLETT_MEADOWS",
        "TALL_TREES",
    }
    local menuData = {
        menuTitle = "Menu Title",
        footer = "Menu Footer",
        footerColor = `COLOR_ORANGE`,
        menuItems = {
            {
                title = "Item Tıtle - 1",
                desc = "Item Desc - 1",
                titleColor = `COLOR_YELLOWSTRONG`,
                descColor = `COLOR_GREY`,
                iconColor = `COLOR_ORANGE`,
                mainImgTextureDic = "TOASTS_MP_GENERIC",
                mainTexture = `mp_roles_naturalist`,
                overlayTickVisible = false,
                overlayTimeVisible = true,
                enable = true,
                visible = true,
                footerColor = `COLOR_GREEN`,
                location = GetHashKey(mapList[math.random(#mapList)]),
                onSelected = function()
                    print("Selected 1")
                end,
                onFocused = function()
                    print("Focused 1")
                end
            },
            {
                title = "Item Tıtle - 2",
                desc = "Item Desc - 2",
                titleColor = `COLOR_YELLOWSTRONG`,
                descColor = `COLOR_GREY`,
                iconColor = `COLOR_ORANGE`,
                mainImgTextureDic = "TOASTS_MP_GENERIC",
                mainTexture = `mp_roles_naturalist`,
                overlayTickVisible = false,
                overlayTimeVisible = true,
                enable = false,
                visible = true,
                footer = "Item 2 Footer",
                onSelected = function()
                    print("Selected 2")
                end,
                onFocused = function()
                    print("Focused 2")
                end
            },
            {
                title = "Item Tıtle - 3",
                desc = "Item Desc - 3",
                titleColor = `COLOR_YELLOWSTRONG`,
                descColor = `COLOR_GREY`,
                iconColor = `COLOR_ORANGE`,
                mainImgTextureDic = "TOASTS_MP_GENERIC",
                mainTexture = `mp_roles_naturalist`,
                overlayTickVisible = false,
                overlayTimeVisible = true,
                enable = true,
                visible = true,
                footerColor = `COLOR_GREEN`,
                location = GetHashKey(mapList[math.random(#mapList)]),
                onSelected = function()
                    print("Selected 3")
                end,
                onFocused = function()
                    print("Focused 3")
                end
            },
        },
        onClosed = function()
            print("ClosedCallBack")
        end
    }
    exports["qadr_ui"]:legendaryAnimalMenu(menuData)
end)
🐴
https://www.youtube.com/watch?v=mfvft2HqYcUwww.youtube.com