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

ESX

How to add on some scripts of ESX

Add to es_exteded

Go to es_extended/client/functions.lua and search

ESX.ShowNotification

Change to

function ESX.ShowNotification(text, style, length)
    if GetResourceState("stNotify") ~= "missing" then
        local exist = exports["stNotify"]:GetType(style)
        if exist then return exports['stNotify']:Notify(style, text) end
        return exports['stNotify']:Notify('info', text)
    end

    print("[^1ERROR^7] ^5stNotify^7 is Missing!")
end
PreviousSTEP 4NextQBCore

Last updated 9 months ago

Was this helpful?

📚