🐌
TZMC Documentation
  • 🧍Standalone
    • 📣Server Announcements
      • 🛠️Config
      • 🔠Rockstar Text Formatting
      • 💾Changelog
    • 🛂Player Report System (Discord)
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
    • ⏱️Time Trial
      • 🛠️Config
    • 🚛Black Market Van
      • 🛠️Config
      • 💾Changelog
    • 🃏Freemode Collectibles
      • 🛠️Config
    • Crypto Heist
      • 🛠️Config
      • 🖥️Server Layout (ID's)
    • 🗺️Cinematic City Tour Guide
      • 🛠️Config
      • 💾Changelog
  • 🎮QB-Core
    • 🐕Animal Patting
      • 🛠️Config
    • 📦Amazon Delivery
      • 💽Installation
      • 🛠️Config
      • 💾Changelog
    • 📯Horny's Burger Job
      • 🛠️Config
    • 🍕Pizzeria Job
      • 🛠️Config
    • 🍔Burger Shot Job
      • 🛠️Config
    • 🚚Advanced Tow Trucking Job
      • 🛠️Config
    • 🧑‍🌾Gardner Job
      • 🛠️Config
    • 🚦Stolen Signs
      • 🛠️Config
    • 🌿Weed Delivery Run
      • 🛠️Config
    • 👔Ponsonbys Heist
      • 🛠️Config
      • 💾Changelog
    • 🔐Password Lockers
      • 🛠️Config
      • 💾Changelog
    • 🚗Chopping
      • 🛠️Config
      • 💾Changelog
    • 🚙Car/Boat/Plane Rental
      • 🛠️Config
      • 💾Changelog
    • 🆔ID Fraud
      • 🛠️Config
    • 🖥️IT Job
      • 🛠️Config
    • 🍸Cyberbar Job
      • 🛠️Config
    • ⚡City Blackout/Power Cut
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut
      • 🛠️Config
      • 🗺️Region Examples
    • 🛒Vending Machine & Watercooler
      • 🛠️Config
      • 💾Changelog
    • 🔌Electrical Job
      • 🛠️Config
    • 🐈UwU Cat Cafe Job
      • 🛠️Config
    • ☕Bean Machine Job
      • 🛠️Config
    • 🦞Pearl's Seafood Restaurant Job
      • 🛠️Config
    • 🍔Up-N-Atom Burger Job
      • 🛠️Config
    • 🚁Blimp Advert Job
      • 🛠️Config
    • 🚮Begging & Garbage Searching
      • 🛠️Config
      • 💾Changelog
    • 🎁Loot Box Drops
      • 🛠️Config
    • ⛽Fuel Theft
      • 🛠️Config
      • 💾Changelog
    • 🍕Pizza Boy Delivery
      • 🛠️Config
    • 📦Parcel Theft
      • 🛠️Config
      • 💾Changelog
    • 🚛Forklift Delivery Job
      • 🛠️Config
      • 💾Changelog
    • 🏗️Container Stashes
      • 🛠️Config
    • 📮Postal Password Locker
      • 🛠️Config
    • 🪙Coin Pinching
      • 🛠️Config
  • 🎲ESX
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
Powered by GitBook
On this page
  1. QB-Core
  2. City Blackout/Power Cut

Config

TZMCBlackoutConfig = {}
 
--[[
 
    INSTALLATION 
 
    This resource requires 'memorygame'. You can install this by following this link: https://github.com/pushkart2/memorygame.
 
]]--
 
-- TARGET --
 
TZMCBlackoutConfig.TargetText = 'Tamper'
 
-- BLACKOUT --
 
TZMCBlackoutConfig.CooldownPeriod = 30 -- How many seconds does a player have between each attempt failed
TZMCBlackoutConfig.BlackoutDuration = 900 -- How many seconds does a blackout last for
TZMCBlackoutConfig.RunAwayTime = 10 -- How many seconds does the player have to run away after completing the hack before the explosions occur in the electricity boxes
 
-- MINIGAME --
 
TZMCBlackoutConfig.CorrectCubesRequired = 10 -- How many cubes that need to be correct before passing
TZMCBlackoutConfig.IncorrectCubesRequired = 3 -- How many cubes that need to be incorrect before failing
TZMCBlackoutConfig.PatternPreviewTime = 3 -- How many seconds a player can see the complete patern to memorise it
TZMCBlackoutConfig.PatternCompleteTime = 10 -- How many seconds a player has to complete the minigame
 
-- ITEM --
 
TZMCBlackoutConfig.ItemRequired = 'thermite'
 
-- NOTIFICATIONS --
 
TZMCBlackoutConfig.UseQBNotify = true
TZMCBlackoutConfig.NotificationEvent = "" -- If you're using your own notification system, enter the event here. If you leave this blank and set QBNotify to false this will use the FiveM chat to notify the player. The parameters are (text, status) Status can be either 'success' or 'error'.
 
TZMCBlackoutConfig.SuccessTitle = 'Success'
TZMCBlackoutConfig.ErrorTitle = 'Error'
TZMCBlackoutConfig.HackFailedText = 'You failed.'
TZMCBlackoutConfig.MissingItemText = "Seems that you've forgotten something."
TZMCBlackoutConfig.RecentlyAttemptedText = "Someone's already attempted this."
TZMCBlackoutConfig.BlackoutActiveText = "The city has already lost power."
TZMCBlackoutConfig.BlackoutRunText = 'You have '..TZMCBlackoutConfig.RunAwayTime..' seconds till detonation.'
TZMCBlackoutConfig.CityPowerCompany = 'LS Water & Power'
TZMCBlackoutConfig.CityPowerOutageText = "City power is currently out, we're working on restoring it!"
TZMCBlackoutConfig.CityPowerRestoredText = "City power has been restored. Apologies for the inconvenience."
PreviousCity Blackout/Power CutNextAdvanced Blackout/Power Cut

Last updated 10 months ago

🎮
⚡
🛠️