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
  • Notifys
  • Client side
  • Server Side

Was this helpful?

  1. SCRIPTS
  2. NOTIFY

Exports

The exports for your scripts

Notifys

Client side

Parameters:

type: Type of notification you want to use, in the config_script you have all the names (Mandatory). text : The text you want the notification to have. (Mandatory) title : The title of the notification, if you don't set it, the default title will be used (in config_script you can change it). img: URL of the image or inside the script files you can also put it. sound: Force a different sound and not the one the player has saved. time: Force a defined time of the notification ignoring the one the player has saved.

Export
exports['stNotify']:Notify(type, text, title, img, sound, time)

Examples:

Common Usage
exports['stNotify']:Notify('info', 'Example Text')
With Image
exports['stNotify']:Notify('x', 'My new car', 'X', 'https://in.mt/6Ji')

Server Side

Use the same parameters as the client side export only that you must first set the user source.

exports['stNotify']:Notify(source, type, text, title, img, sound, time)
PreviousQBCoreNextJob Banners

Last updated 9 months ago

Was this helpful?

📚