BIT - DOCUMENTATION
  • BIT DOCUMENTATION
  • ℹ️INFORMATION
    • Licensing System
    • Terms of Service
    • Common issues
    • Support
  • ❓HOW TO...
    • Change inventory
      • Add Item
      • Remove Item
    • How to update an asset
    • How to add items
    • Items images
    • Change notifications
  • 🖥️PAID SCRIPTS
    • 💳 BIT-Licenses
      • Installation
      • Commands
      • Triggers & Exports
      • Items
    • 🦠 BIT-Diseases
      • Installation
      • Triggers, Export and Commands
    • 🔓 BIT-Unlock
      • Installation
      • Trigger
      • How it works?
    • 🔊 BIT-Radio
      • Installation
      • Configuration
      • Trigger
      • Items
    • 💊 BIT-DrugsCreator
      • Installation
      • Configuration
      • Trigger
      • Target
    • ⚠️ BIT-Notifications
      • Installation
      • Configuration
      • Trigger
    • 🖐️BIT-InteractiveCity
      • Installation
      • Dependencies
      • Configuration
      • Actions
      • Target
    • 🚘 BIT-UsedCars
      • Installation
      • Dependencies
      • Configuration
      • Target
    • 🗑️ BIT-GarbageJob
      • Installation
      • Dependencies
      • Configuration
      • Target
      • Items
    • 🛠️ BIT-AdvancedTasks
      • Installation
      • Dependencies
      • Custom Voices
      • Custom NPC
      • Rewards
      • Target
    • 🏆 BIT-Rewards
      • Installation
      • SQL
      • Configuration
      • Trigger
    • 📊 BIT-Scoreboard
      • Installation
      • Configuration
    • 🛍️ BIT-Stores
      • Installation
      • Example Items
      • Configuration
      • Create a polyzone
      • Add Items
    • 🔪 BIT-Gangs
      • Installation
      • SQL and Items
      • Configuration
      • Triggers and Exports
    • 💼 BIT-Jobs
      • Installation
      • SQL and Items
      • Create Jobs
      • ProgressBar
      • Configuration
      • Add Jobs
      • Random position
      • Triggers
      • Possible mistakes
    • 🏨 BIT-Motels
      • Installation
      • MLO
      • SQL
      • Configuration
      • Triggers
    • 👗 BIT-ClothingShop v.2
      • Installation
      • Create Images
      • Image Resolution
      • Debug & Test
      • SQL
      • Configuration
      • Possible mistakes
    • ✨ BIT-Creator
      • Installation
      • SQL
      • Configuration
      • Triggers
    • 🏢 BIT-Business 2.0
      • Installation
      • SQL
      • Configuration
      • Colors
      • Income
      • Payment Methods
    • 🚗 BIT-Garage
      • Installation
      • Dependencies
      • Configuration
      • Functions
      • Jobs/Gangs
      • Triggers
      • Commands
      • Possible mistakes
    • 🚘 BIT-VehControl
      • Installation
      • Dependencies
      • Configuration
      • Triggers
      • Possible mistakes
    • 🐾 BIT-Pets
      • Installation
      • SQL
      • Dependencies
      • Configuration
      • Target
      • Triggers
      • Questions
      • Possible mistakes
    • 👮‍♂️ BIT-PoliceMDT
      • Installation
      • SQL
      • Configuration
      • Dependencies
      • Triggers
      • Possible mistakes
    • ⛽ BIT-Fuel
      • Installation
      • Configuration
      • Exports
      • Questions
    • 💰 BIT-Crypto
      • Installation
      • SQL
      • Configuration
      • Triggers & Exports
      • Questions
    • 🚙 BIT-Carrental
      • Installation
      • Configuration
    • 📻 BIT-Carradio
      • Installation
      • Dependencies
      • Configuration
    • 📝 BIT-Reportsystem
      • Installation
      • SQL
      • Configuration
      • Questions
    • 🚦BIT-Drivingschool
      • Installation
      • SQL
      • MLO
      • Configuration
      • Triggers
      • Add routes
      • License Item
      • Transcription
    • ⚓ BIT-BoatSchool
      • Installation
      • SQL
      • Configuration
      • Triggers
      • Add routes
      • License Item
      • Transcription
    • 🛩️ BIT-Flightschool
      • Installation
      • SQL
      • Configuration
      • Triggers
      • Add routes
      • License Item
      • Transcription
    • 🚜 BIT-Dealership
      • Installation
      • Configuration
      • Possible mistakes
    • 🪙 BIT-Coin System
      • Installation
      • Configuration
      • Trigger
    • 🏦 BIT-Bank
      • Installation
      • SQL
      • Configuration
    • 🖥️ BIT-HUD
      • Installation
      • Configuration
      • Triggers
    • 🎮 BIT-Battlepass 3
      • Installation
      • SQL
      • Configuration
      • Commands
      • Triggers
      • Questions
      • Possible mistakes
    • 📋 BIT-Pausemenu
      • Installation
      • SQL
      • Configuration
    • 📦 BIT-TreasureHunting
      • Installation
      • Dependencies
      • Configuration
      • Target
Powered by GitBook
On this page
  1. PAID SCRIPTS
  2. ⚠️ BIT-Notifications

Configuration

shared.lua

Config, Lang = {}, {}
-- $$$$$$\   $$$$$$\  $$\   $$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\ $$$$$$$\   $$$$$$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\
-- $$  __$$\ $$  __$$\ $$$\  $$ |$$  _____|\_$$  _|$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\\__$$  __|\_$$  _|$$  __$$\ $$$\  $$ |
-- $$ /  \__|$$ /  $$ |$$$$\ $$ |$$ |        $$ |  $$ /  \__|$$ |  $$ |$$ |  $$ |$$ /  $$ |  $$ |     $$ |  $$ /  $$ |$$$$\ $$ |
-- $$ |      $$ |  $$ |$$ $$\$$ |$$$$$\      $$ |  $$ |$$$$\ $$ |  $$ |$$$$$$$  |$$$$$$$$ |  $$ |     $$ |  $$ |  $$ |$$ $$\$$ |
-- $$ |      $$ |  $$ |$$ \$$$$ |$$  __|     $$ |  $$ |\_$$ |$$ |  $$ |$$  __$$< $$  __$$ |  $$ |     $$ |  $$ |  $$ |$$ \$$$$ |
-- $$ |  $$\ $$ |  $$ |$$ |\$$$ |$$ |        $$ |  $$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |  $$ |     $$ |  $$ |  $$ |$$ |\$$$ |
-- \$$$$$$  | $$$$$$  |$$ | \$$ |$$ |      $$$$$$\ \$$$$$$  |\$$$$$$  |$$ |  $$ |$$ |  $$ |  $$ |   $$$$$$\  $$$$$$  |$$ | \$$ |
-- \______/  \______/ \__|  \__|\__|      \______| \______/  \______/ \__|  \__|\__|  \__|  \__|   \______| \______/ \__|  \__|

-- Notification Trigger example:
--TriggerClientEvent("bit-notifications:open", src, "Title", "Message", 5000, "success")
-- Notification types: "success", "error", "info", "warning"
--To send open/close message:
-- /openstore [message] | /closestore [message]

--Use "esx" or "qb"
Config.Framework = "qb"
--If you are using one of the most recent versions of ESX, set the script name. Default = "es_extended"
Config.ESXExport = ""
--Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "qb-core"
--Notifications position (top-right, top-left, top-center, bottom-right, bottom-left, bottom-center, center-left, center-right)
Config.notiPosition = "center-left"
--Store notifications position (top-right, top-left, top-center, bottom-right, bottom-left, bottom-center, center-left, center-right)
Config.storesNotiPosition = "top-center"
--Command to open the store (only users with the required job can use it)
Config.openStoreCommand = "openstore"
--Command to close the store (only users with the required job can use it)
Config.closeStoreCommand = "closestore"

-- $$\        $$$$$$\  $$\   $$\  $$$$$$\  $$\   $$\  $$$$$$\   $$$$$$\  $$$$$$$$\
-- $$ |      $$  __$$\ $$$\  $$ |$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\ $$  _____|
-- $$ |      $$ /  $$ |$$$$\ $$ |$$ /  \__|$$ |  $$ |$$ /  $$ |$$ /  \__|$$ |
-- $$ |      $$$$$$$$ |$$ $$\$$ |$$ |$$$$\ $$ |  $$ |$$$$$$$$ |$$ |$$$$\ $$$$$\
-- $$ |      $$  __$$ |$$ \$$$$ |$$ |\_$$ |$$ |  $$ |$$  __$$ |$$ |\_$$ |$$  __|
-- $$ |      $$ |  $$ |$$ |\$$$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |
-- $$$$$$$$\ $$ |  $$ |$$ | \$$ |\$$$$$$  |\$$$$$$  |$$ |  $$ |\$$$$$$  |$$$$$$$$\
-- \________|\__|  \__|\__|  \__| \______/  \______/ \__|  \__| \______/ \________|

Lang.error = "Error"
Lang.noPermissions = "You don't have permissions to do this action"

--  $$$$$$\ $$$$$$$$\  $$$$$$\  $$$$$$$\  $$$$$$$$\  $$$$$$\
-- $$  __$$\\__$$  __|$$  __$$\ $$  __$$\ $$  _____|$$  __$$\
-- $$ /  \__|  $$ |   $$ /  $$ |$$ |  $$ |$$ |      $$ /  \__|
-- \$$$$$$\    $$ |   $$ |  $$ |$$$$$$$  |$$$$$\    \$$$$$$\
--  \____$$\   $$ |   $$ |  $$ |$$  __$$< $$  __|    \____$$\
-- $$\   $$ |  $$ |   $$ |  $$ |$$ |  $$ |$$ |      $$\   $$ |
-- \$$$$$$  |  $$ |    $$$$$$  |$$ |  $$ |$$$$$$$$\ \$$$$$$  |
--  \______/   \__|    \______/ \__|  \__|\________| \______/

Stores = {
    ["Vanilla"] = {
        image = "https://i.ibb.co/XpMB3jS/vanilla.jpg",
        name = "Vanilla",
        job = "vanilla",
        minGrade = 0
    },
    ["Bahama"] = {
        image = "https://i.ibb.co/NxYncsP/bahama.jpg",
        name = "Bahama",
        job = "bahama",
        minGrade = 0
    },
    ["Tequilala"] = {
        image = "https://i.ibb.co/FKY1jzX/tequilala.png",
        name = "Tequilala",
        job = "tequilala",
        minGrade = 0
    },
    ["Yellow Jack"] = {
        image = "https://i.ibb.co/B3QN0Ys/yellowjack.png",
        name = "Yellow Jack",
        job = "yellowjack",
        minGrade = 0
    },
    ["White Widow"] = {
        image = "https://i.ibb.co/HHnmy1T/whitewidow.jpg",
        name = "White Widow",
        job = "whitewidow",
        minGrade = 0
    },
    ["Los Santos Customs"] = {
        image = "https://i.ibb.co/61ZGkK3/lossantoscustoms.jpg",
        name = "Los Santos Customs",
        job = "mechanic",
        minGrade = 0
    },
    ["Benny"] = {
        image = "https://i.ibb.co/NTWzR2W/bennys.jpg",
        name = "Benny's",
        job = "bennys",
        minGrade = 0
    },
    ["Bean Machine"] = {
        image = "https://i.ibb.co/6PW53Xb/beanmachine.jpg",
        name = "Bean Machine",
        job = "beanmachine",
        minGrade = 0
    },
    ["Pizza This"] = {
        image = "https://i.ibb.co/jryLZJq/pizzathis.png",
        name = "Pizza This",
        job = "pizzathis",
        minGrade = 0
    },
    ["Vangelico"] = {
        image = "https://i.ibb.co/vPSVv5P/vangelico.png",
        name = "Vangelico",
        job = "vangelico",
        minGrade = 0
    },
    ["Galaxy"] = {
        image = "https://i.ibb.co/T46r51z/galaxy.png",
        name = "Galaxy",
        job = "galaxy",
        minGrade = 0
    },
    ["Pearls"] = {
        image = "https://i.ibb.co/Xsd11V5/pearls.gif",
        name = "Pearls",
        job = "pearls",
        minGrade = 0
    },
    ["Digital Den"] = {
        image = "https://i.ibb.co/cbMgWcH/digitalden.jpg",
        name = "Digital Den",
        job = "digitalden",
        minGrade = 0
    },
    ["Pillbox"] = {
        image = "https://i.ibb.co/MMX2VYJ/pillbox.jpg",
        name = "Pillbox",
        job = "ambulance",
        minGrade = 0
    },
    ["Burger Shot"] = {
        image = "https://i.ibb.co/fSj1T3W/burguershot.jpg",
        name = "Burger Shot",
        job = "burgershot",
        minGrade = 0
    },
    ["24/7"] = {
        image = "https://i.ibb.co/rtDPHQk/247.png",
        name = "24/7",
        job = "247",
        minGrade = 0
    },
    ["Ammu-Nation"] = {
        image = "https://i.ibb.co/RyfFyyn/ammunation.png",
        name = "Ammu-Nation",
        job = "ammunation",
        minGrade = 0
    },
    ["Downtown Cab"] = {
        image = "https://i.ibb.co/0QLg8Cm/taxi.jpg",
        name = "Downtown Cab",
        job = "taxi",
        minGrade = 0
    },
    ["LSPD"] = {
        image = "https://i.ibb.co/0rJx3fy/police.png",
        name = "LSPD",
        job = "police",
        minGrade = 0
    },
    ["BCSO"] = {
        image = "https://i.ibb.co/x21Rb1W/sheriff.jpg",
        name = "BCSO",
        job = "sheriff",
        minGrade = 0
    }
}
PreviousInstallationNextTrigger

Last updated 6 months ago

🖥️