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

Usable Legendary Animal Maps

PreviousCrafting Menu UINextMap Icon

Last updated 11 months ago

Usable Functions

-- Main function.
local data = {
    openMap = false, -- is you set true, player will open map with animation
}
local legendarymap = exports["qadr_ui"]:legendaryMapCreation(data)

-- You can show/hide all icons
legendarymap.setAllVisibility(true)

-- You can only show/hide the icons in the list.
local data = {
    {
        animalName = "Tier 2 Bison", -- check usable animal list
        visibility = false,
    },
    {
        animalName = "Tier 1 Alligator", -- check usable animal list
        visibility = true,
        customzone = math.random( 1,28 ) -- min 1 max 28 if you set nil , it will use r* zone
        -- All animal has own zone. But you can use customzone
    }
}
legendarymap.setAnimalVisibility(data) -- check example for data
Usable Animal List
local usableAnimalList = {
    "Tier 1 Alligator",
    "Tier 2 Alligator",
    "Tier 1 Bear",
    "Tier 2 Bear",
    "Tier 1 Beaver",
    "Tier 2 Beaver",
    "Tier 1 Bison",
    "Tier 2 Bison",
    "Tier 1 Boar",
    "Tier 2 Boar",
    "Tier 1 Buck",
    "Tier 2 Buck",
    "Tier 1 Cougar",
    "Tier 2 Cougar",
    "Tier 1 Coyote",
    "Tier 2 Coyote",
    "Tier 1 Elk",
    "Tier 2 Elk",
    "Tier 1 Fox",
    "Tier 2 Fox",
    "Tier 1 Moose",
    "Tier 2 Moose",
    "Tier 1 Panther",
    "Tier 2 Panther",
    "Tier 1 Ram",
    "Tier 2 Ram",
    "Tier 1 Wolf",
    "Tier 2 Wolf",
}

Example

RegisterCommand("LegendaryAnimalMap",function(src,args,raw)
    local data = {
        openMap = false, -- is you set true, player will open map with animation
    }
    local legendarymap = exports["qadr_ui"]:legendaryMapCreation(data)
    print("all data created")
    Wait(2000)
    print("Map opened")
    legendarymap.openMap()
    Wait(2000)
    legendarymap.setAllVisibility(true)
    print("all animals set visible true")
    Wait(2000)
    local data = {
        {
            animalName = "Tier 2 Bison",
            visibility = false,
        },
        {
            animalName = "Tier 1 Alligator",
            visibility = true,
            customzone = math.random( 1,28 ) -- min 1 max 28 if you set nil , it will use r* zone
        }
    }
    legendarymap.setAnimalVisibility(data)
    print("Tier 2 Bison and Tier 1 Alligator animals change visible")
    Wait(2000)
    local data = {
        {
            animalName = "Tier 2 Bison",
            visibility = true,
        },
        {
            animalName = "Tier 1 Alligator",
            visibility = false,
            customzone = math.random( 1,28 ) -- min 1 max 28 if you set nil , it will use r* zone
        }
    }
    legendarymap.setAnimalVisibility(data)
    print("Tier 2 Bison and Tier 1 Alligator animals change visible")
    Wait(2000)
    legendarymap.closeMap()
    print("Map closed")
    Wait(2000)
    legendarymap.openMap()
    print("Map opened")
    Wait(3000)
    legendarymap.setAllVisibility(false)
    print("all animals set visible false")
    Wait(3000)
    legendarymap.clear()
    print("all data cleared")
end)
🗺️