RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Notify

Configuration

Config = {}
Config.Framework = "auto"

Config.Announcement = {
    active = true,
    command = "announcement",
    permission = {
        "superadmin",
        "admin",
        "god"
    }
}

-- Enable or disable announcements from txAdmin events
Config.UseTxAdminAnnouncements = true
-- Name to display when txAdmin announcements are triggered
Config.TxAdminName = "RISK CITY"

function getFramework()
    if Config.Framework == "esx" then
        return exports['es_extended']:getSharedObject(), "esx"
    elseif Config.Framework == "qb" then
        return exports["qb-core"]:GetCoreObject(), "qb"
    elseif Config.Framework == "auto" then
        if GetResourceState('qb-core') == 'started' then
            return exports["qb-core"]:GetCoreObject(), "qb"
        elseif GetResourceState('es_extended') == 'started' then
            return exports['es_extended']:getSharedObject(), "esx"
        end
    end
end
PreviousInstallationNextUsage

Last updated 3 days ago

🔔
⚙️