SpicyTasty DOCS
WEBSTOREDISCORDYOUTUBE
  • 🚨READ ME
    • 🌶️Welcome to SpicyTasty
  • 📚SCRIPTS
    • RADIO
      • Installation
        • STEP 1
        • STEP 2
        • STEP 3
        • STEP 4
          • ORIGEN inventory
          • AK47 inventory
          • PS inventory
          • CORE inventory
          • OX inventory
          • LJ inventory
          • QB inventory
          • TGIANN inventory
          • CODEM inventory
          • QS inventory
        • STEP 5
        • STEP 6 (OPTIONAL)
      • Common Errors
      • Snippets
        • Exports
        • pma-voice
        • Add to Store/Shop
      • Config
    • NOTIFY
      • Installation
        • STEP 1
        • STEP 2
        • STEP 3
        • STEP 4
          • ESX
          • QBCore
      • Exports
      • Job Banners
  • BLINDBOX
    • Installation
  • 🫒PROPS
    • BUBUS
      • Installation
        • STEP 1
        • STEP 2
        • STEP 3
        • STEP 4
        • Step 5
          • stUsableProps
          • stBlindBox
    • BOTS
      • Installation
        • STEP 1
        • STEP 2
        • STEP 3
        • STEP 4
        • Step 5
          • stUsableProps
          • stBlindBox
Powered by GitBook
On this page

Was this helpful?

  1. SCRIPTS
  2. NOTIFY
  3. Installation
  4. STEP 4

QBCore

How to change the notify on some QB scripts

Add to QBCore

Go to qb-core/client/functions.lua and search

QBCore.Functions.Notify

Change to

function QBCore.Functions.Notify(text, texttype, length, icon)
    local exist = exports["stNotify"]:GetType(texttype)
    if exist then return exports['stNotify']:Notify(texttype, text) end
    return exports['stNotify']:Notify('info', text)
end
PreviousESXNextExports

Last updated 9 months ago

Was this helpful?

📚