Guest User

Window Smash Config Info

a guest
Feb 21st, 2023
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.86 KB | Gaming | 0 0
  1. Config = {}
  2. Config.newQB = true  -- Set to `false` if using qb-core with old export & read info in fxmanifest
  3. Config.Debug = false
  4. Config.Locale = 'en'
  5.  
  6. Config.steal = {
  7.     coolDown = {  -- Cooldown
  8.         time = 30  -- In seconds, 30 = 30 seconds
  9.     },
  10.     animations = {
  11.         animDict = "mp_intro_seq@",
  12.         anim = "mp_mech_fix",
  13.         flag = 17,
  14.     },
  15.     command = 'smash',  -- Command used to smash windows instead of pressing `E`    
  16.     key = 'E',  -- [E] Key used to break window / Uses `RegisterKeyMapping` so players can chance to their liking via `Fivem Keybinds` settings / https://docs.fivem.net/docs/game-references/controls/
  17. }
  18.  
  19. Config.loot = {
  20.     findCash = 37,  -- Higher # means higher chance of finding cash
  21.     findLoot = 33,  -- Higher # means higher chance of finding items  
  22.     findRare = 9,   -- Higher # means higher chance of finding rare items
  23.     cash = {
  24.         min = 25,
  25.         max = 75
  26.     },    
  27.     itemAmount = math.random(1, 2),
  28.     vehicleitems = {  -- Items found in vehicles
  29.         'lighter',
  30.         'cokebaggy',
  31.         'stickynote',
  32.         'binoculars',
  33.         'weed_ak47',
  34.         'painkillers',
  35.         'phone',
  36.         'samsungphone',
  37.         'goldchain',
  38.         'coffee',
  39.         'tosti',
  40.     },
  41.     rare_items = {
  42.         'weapon_pistol',
  43.         'rolex',
  44.         'cryptostick',
  45.         'pistol_flashlight',
  46.         'coke_small_brick',
  47.         'diamond_ring',
  48.         '10kgoldchain',
  49.     }
  50. }
  51.  
  52. Config.alertInfo = {          
  53.     onBreak = 28,  -- Higher # means higher chance of police being notified      
  54.     dispatch = 'ps-dispatch',  -- ps-dispatch / qb-dispatch / normal <--- basic police alert built-in / custom <--- readme.lua for more info
  55. }
  56.  
  57. Config.AllowedWeapons = {  -- Allowed weapons for breaking windows, any weapon not on this list won't break a window
  58.     [`weapon_assaultrifle`] = {
  59.         true,  -- `true` means it'll work, `false` means it won't.
  60.         chance = 47  -- Higher # means higher chance to break window
  61.     },    
  62.     [`weapon_pistol`] = {
  63.         true,
  64.         chance = 28
  65.     },
  66.     [`weapon_crowbar`] = {
  67.         true,
  68.         chance = 24
  69.     },
  70. }
  71.  
  72. Config.BlackListedClass = {  -- https://docs.fivem.net/natives/?_0x29439776AAA00A62
  73.     [8] = false,  -- Motorcycles  
  74.     [10] = false,  -- Industrial  
  75.     [13] = false,  -- Cycles  
  76.     [14] = false,  -- Boats  
  77.     [15] = false,  -- Helicopters  
  78.     [16] = false,  -- Planes  
  79.     [18] = false,  -- Emergency  
  80.     [21] = false,  -- Trains  
  81. }
  82.  
  83. -- The list below is to add blacklisted vehicles. These vehicles won't be able to be broken into. The script already denies class `18` which is the emergency class.
  84. Config.BlackListedVehicles = {  -- Add more vehicles to blacklist, be sure to add `= false,` to each vehicle listed.
  85.     [`adder`] = false,
  86.     [`turismo`] = false,
  87. }
Add Comment
Please, Sign In to add comment