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
  • Useable upperLocText
  • Usable default rdr text
  • Example
  • Usable functions
  • Command Example
  1. qadr_ui

Wanted UI - Outdated

Sending wanted notifications.

PreviousCount DownNextMeters UI - OutDated

Last updated 1 year ago

Video

Useable upperLocText

Useable upperLocText

THEFT : Theft

MURDER : Murder

BOUNTY : BOUNTY

MALE_WANTED : WANTED

ASSAULT : Assault

ROBBERY : Robbery

LOOTING : Looting

WITNESS : WITNESS

CHEATING : Cheating

THEFT_LIVESTOCK : Rustling

VANDALISM : Vandalism

NO_BOUNTY : No Bounty

KIDNAPPING : Kidnapping

ACCOMPLICE : Accomplice

Usable default rdr text

Usable default rdr text

Key : Text - Use key for data

KIDNAPPING : Kidnapping

INTIMIDATION : Intimidation

ASSAULT_HORSE : Animal Cruelty

JACK_VEHICLE : Vehicle Theft

TRAIN_ROBBERY : Train Robbery

LASSO_ASSAULT : Assault

THEFT_HORSE : Horse Theft

STOLEN_GOODS : Theft

ACCOMPLICE : Accomplice

TRAMPLE_LAW : Murder

BANK_ROBBERY : Bank Robbery

STAGECOACH_ROBBERY : Robbery

LAW_IS_THREATENED : Disturbing the Peace

ROBBERY : Robbery

ASSAULT : Assault

KIDNAPPING_LAW : Kidnapping

ASSAULT_CORPSE : Disturbing the Peace

VEHICLE_DESTRUCTION : Vandalism

FEMALE_WANTED : WANTED

CHEATING : Cheating

DISTURBANCE : Disturbing the Peace

VANDALISM_VEHICLE : Vandalism

MURDER_LIVESTOCK : Animal Cruelty

ASSAULT_LIVESTOCK : Animal Cruelty

JACK_HORSE : Horse Theft

MURDER_HORSE : Animal Cruelty

VANDALISM : Vandalism

TRAMPLE : Murder

THREATEN_LAW : Disturbing the Peace

UNARMED_ASSAULT : Unarmed Assault

ASSAULT_ANIMAL : Animal Cruelty

BURGLARY : Trespassing

THREATEN : Disturbing the Peace

TRESPASSING : Trespassing

THEFT_LIVESTOCK : Rustling

RESIST_ARREST : Disturbing the Peace

THEFT : Theft

MURDER : Murder

PROPERTY_DESTRUCTION : Vandalism

ASSAULT_LAW : Assault

LOOTING : Looting

HIT_AND_RUN_LAW : Unarmed Assault

THEFT_VEHICLE : Vehicle Theft

MURDER_LAW : Murder

JAIL_BREAK : Jail Break

LOITERING : Disturbing the Peace

MURDER_ANIMAL : Animal Cruelty

HIT_AND_RUN : Unarmed Assault

EXPLOSION : Disturbing the Peace

MALE_WANTED : WANTED

GRAVE_ROBBERY : Grave Robbery

HASSLE : Disturbing the Peace

WITNESS : WITNESS

Example

Example
local data = {
    upperLocText = "BOUNTY",
    firstMessage = {
        text = "Text 1",
        timeout = 1000,
    },
    secondMessage = {
        text = "Text 2",
        timeout = 2000,
    },
    thirdMessage = {
        text = "Text 3",
        timeout = 2000,
    },
    lastMessage = {
        text = "INTIMIDATION",
        textfromrdr = true,             -- if you set this to true, custom text not available. Check readme file more default text.
        timeout = 2000,                 -- if you set lastmessage timeout, it will be shown for this time and then disappear
    },
    showBountyHunterMessage = false,    -- show bounty hunter message http://prntscr.com/gDsOV-qLN_4W
    upperTextPulse          = false,    -- pulse the upper text
    showWarningAnimation    = false,    -- notification sound and animation
}
local notifdata = exports["qadr_ui"]:showWanted(data)

Usable functions

notifdata.updatemessage(messageIndex,message)
notifdata.updatetitle(title)
notifdata.showBountyHunterMessage(boolean)
notifdata.showWarningAnimation(boolean)
notifdata.setPulse(boolean)
notifdata.close()
notifdata.startShortCooldown(boolean)
notifdata.startLongCooldown(boolean)
notifdata.setTextIndex(int) -- must 1 - 4 1 = firstmessage, 4 = lastmessage

Command Example

Command Example
RegisterCommand("sow",function(src,args,raw)
    local notifdata = exports["qadr_ui"]:showWanted(data)
    Wait(5000)
    print("trigger notifdata.updatemessage")
    notifdata.updatemessage("lastMessage","BOUNTY") -- if you set "textfromrdr" to true, you can't use custom text for updates.
    Wait(5000)
    print("trigger notifdata.updatemessage")
    notifdata.updatemessage("firstMessage","Edited first message")
    Wait(5000)
    print("trigger notifdata.updatemessage")
    notifdata.updatemessage("secondMessage","Edited secondmessage")
    Wait(2000)
    print("trigger notifdata.updatetitle")
    notifdata.updatetitle("MALE_WANTED")    
    Wait(2000)
    print("trigger notifdata.showBountyHunterMessage")
    notifdata.showBountyHunterMessage(true) -- If this value is set to "TRUE" once, it cannot be set to "TRUE" again. It must be set to "FALSE" first.    
    Wait(2000)
    print("trigger notifdata.showWarningAnimation")
    notifdata.showWarningAnimation(true)    
    Wait(2000)
    print("trigger notifdata.setPulse")
    notifdata.setPulse(true)    
    Wait(2000)
    print("trigger notifdata.setTextIndex")
    notifdata.setTextIndex(3)            -- Show thirdMessage    
    Wait(2000)    
    print("trigger notifdata.startShortCooldown")
    notifdata.startShortCooldown(true,function() -- Set only one to "TRUE" at the same time!
        print("Short cooldown finished")
    end)  
    Wait(2000)    
    print("trigger notifdata.startLongCooldown")
    notifdata.startLongCooldown(true,function() -- Set only one to "TRUE" at the same time!
        print("Long cooldown finished")
    end)
    Wait(2000)
    print("trigger notifdata.close")
    notifdata.close()
end)
🚨