SickScripts Documentation
SickScripts DiscordProject ALPHA DiscordTebex Store
  • Overview
    • 💡SickScripts
    • ✨Useful Links
    • 🎯Newest ESX
  • Shared Framework
    • 👮SickDirtyCops
      • Robbery Trigger
      • Installation
      • Config
      • Buy/Sell Shop
      • Updates
      • Custom Events
    • 🚗Sick2Step
      • SetUp
      • Usage
    • 🌱SickTrapHouses
      • Installation
      • Events
    • 🗒️SickWarrants
      • Events
      • Examples
    • 💣SickCarBombs
      • Items
      • Config
    • 📎SickLockers
      • Config
      • Events
      • QBCore Users
    • 💰SickMoneyWash
      • Usage
      • Config
    • 🗺️SickTeleport
      • Installation
      • Default Locations
      • Donators
      • Config
  • ESX Scripts
    • 🎟️SickFines-PEFCL
      • Events
    • 🧑‍💼SickTraders
      • Traders
    • 🌭SickFoodStands
    • 🍔SickUpNAtom
      • General info
      • Ordering
      • Job Info
      • Boss Menu
  • 🔒SickJail
    • Events/Exports
    • Examples
    • Jobs
    • Drug Bag
    • Prison Break
    • Stashes
  • 📄SickReports
    • Options
  • 🇫🇲SickSafeZones
    • Info
    • Music
    • AirDrops
    • ScrapCars
  • QBCore
    • 🏨SickApartmentSelect
Powered by GitBook
On this page
  • SmartFires
  • Speed
  • Items
  • Remote Detonation Options
  • Notifications
  1. Shared Framework
  2. SickCarBombs

Config

SmartFires

Added Support for SmartFires. Uses exports to start a fire at the location of the explosion. If you choose to use this option set the Config option to true

Config.SmartFires = true -- to start fires at explosions

Speed

Config.Speed = 'MPH' -- 'MPH' or 'KPH'

Items

If you choose to change the items used this can be done in the config!

Config.IEDItem
Config.IEDItem = {
    timer = 'ied_timer',
    speed = 'ied_speed',
    seat = 'ied_delayed',
    instant = 'ied_instant',
    remote = 'ied_remote'
}

Remote Detonation Options

Config.TriggerKey = 47 -- for remote bombs
Config.TriggerKeyLabel = 'G' -- label for textUI

Notifications

function CNotify(type,message) -- can change to any if you want
    if type == 1 then -- 3 types, (1,2,3)
        lib.notify({
            title = 'Car Bomb', -- title for notifications
            description = message, -- Message comes from locals file
            type = 'success' -- type goes with type
        })
    elseif type == 2 then
        lib.notify({
            title = 'Car Bomb',
            description = message,
            type = 'inform'
        })
    elseif type == 3 then
        lib.notify({
            title = 'Car Bomb',
            description = message,
            type = 'error'
        })
    end
end
PreviousItemsNextSickLockers
💣