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-Creator

Configuration

Don't touch this line

Config, Noti, Lang = {}, {}, {}

CONFIGURATION FILE

Config, Noti, Lang = {}, {}, {}

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

--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"
-- oxmysql, mysql-async or ghmattisql
Config.Mysql = "oxmysql"
--Command to open the menu
Config.open = "creator"
--Keep true if you want to use your own functions in the markers
Config.useFunctionsOnMarkers = true
--Keep true if you want to use your own functions in the PEDS
Config.useFunctionsOnPEDS = true
--Font used for text in open functions. If you use Chinese language set to 0
Config.alertTextFont = 4
--Distance from which the marker will be visible
Config.showMarkerDistance = 20
--Distance at which the alert texts can be displayed and/or the open functions can be performed
Config.showPressEDistance = 2
--Distance from which blips will be displayed
Config.blipMarkerDistance = 100
--Set to true if you want spawned peds to be able to die
Config.pedCanDie = false
--Set to true if you want the peds to be able to be aggressive or run away
Config.passivePed = true
--If you don't want the peds to move from the spawn point keep on true
Config.freezePed = true
--Distance the ped can travel when the "Walkaround" option is checked
Config.pedWalkAroundDistance = 6.0
--Freeze the position of vehicles
Config.freezeVehicles = true


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

function notifications(notitype, message, time)
    --Change this trigger for your notification system keeping the variables
    if Config.Framework == 'esx' then
        ESX.ShowNotification(message) --default ESX notification
    elseif Config.Framework == 'qb' then
        QBCore.Functions.Notify(message) --default QB notification
    end
end


--Notifications types:
Noti.info = 'info'
Noti.check = 'check'
Noti.error = 'error'

--Notification time:
Noti.time = 5000

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

function markersFunctions(functionName)
    if functionName == "PublicMarker" then
        drawTxt("Hello!", Config.alertTextFont, 1, 0.5, 0.8, 0.6, 255, 255, 255, 255)
        if IsControlJustPressed(0,38) then
            print ("Hello!")
        end
    elseif functionName == "PoliceMarker" then
        drawTxt("Hello Police!", Config.alertTextFont, 1, 0.5, 0.8, 0.6, 255, 255, 255, 255)
        if IsControlJustPressed(0,38) then
            print ("Hello!")
        end
    end
end

function PEDSFunctions(pedName)
    if pedName == "bouncer" then
        drawTxt("You cannot pass here", Config.alertTextFont, 1, 0.5, 0.8, 0.6, 255, 255, 255, 255)
        if IsControlJustPressed(0,38) then
            print ("Hello!")
        end
    end
end

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

Lang.newBlip = "A new blip has been added"
Lang.noNewBlip = "Could not add a new blip"
Lang.newMarker = "A new marker has been added"
Lang.noNewMarker = "Could not add a new marker"
Lang.newPed = "A new ped has been added"
Lang.noNewPed = "Could not add a new ped"
Lang.newProp = "A new prop has been added"
Lang.noNewProp = "Could not add a new prop"
Lang.newVeh = "A new vehicle has been added"
Lang.noNewVeh = "Could not add a new vehicle"
Lang.active = "Active:"
Lang.status = "Status has been updated."
Lang.noStatus = "Unable to update status."
Lang.removed = "Successfully removed"
Lang.noRemoved = "Unable to remove"
Lang.config = "The configuration has been saved successfully"
Lang.noConfig = "The configuration has not been saved correctly"

PreviousSQLNextTriggers

Last updated 1 year ago

đŸ–Ĩī¸