Advertisement
Krupicka

TRUCK ROBBERY CONFIG

Mar 14th, 2024 (edited)
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.68 KB | Source Code | 0 0
  1. Config = {}
  2. Config.Locale = 'en'
  3. Config.Debug = false
  4. Config.Framework = 'auto-detect'  --  'qbcore' or 'esx' /  auto-detect
  5. Config.NewESX = true
  6. Config.InteractionType = "target" -- target or textui or 3dtext | which type of interaction you want
  7. Config.FrameworkTarget = 'auto-detect' --qtarget or qb-target or ox_target / auto-detect
  8. Config.Menu = 'ox_lib' -- qbcore / ox_lib
  9. Config.Progress = 'ox_lib' -- qbcore / ox_lib
  10. Config.TextUI = "ox_lib" -- TextUIs | types: esx, ox_lib, luke
  11. Config.Context = 'ox_lib' -- qbcore / ox_lib
  12. Config.Input = 'ox_lib' -- qbcore / ox_lib
  13. Config.Clothing = 'illenium-appearance' -- esx_skin / fivem-appearance / illenium-appearance / qb-clothing
  14. Config.PoliceJobs = { 'police', 'sheriff' }
  15. Config.Dispatch = { enabled = true, script = "cd_dispatch" } -- cd_dispatch, linden_outlawalert, ps-dispatch
  16. Config.Logs = { enabled = true, type = "webhook" } --Change webhook in  use webhook or ox_lib (datadog) Can be changed in server > sv_utils.lua
  17. Config.VehicleModel = `stockade` --vehicle spawn name
  18.  
  19. Config.Times = {
  20.     HackTime = 20, -- How much seconds you have to hack
  21.     CoolDown = 2, -- In minutes cooldown for heist
  22.     CountDown = 5 -- how much seconds it takes to explode c4
  23. }
  24.  
  25.  
  26. Config.C4 = {
  27.     itemName = 'c4', -- Item name of the c4
  28.     Chance = 20 -- Chance that c4 will not explode and have to be activated again
  29. }
  30.  
  31. Config.Blip = {
  32.     Pos = {1274.7621, -1721.0372, 54.6808},
  33.     Sprite = 96,
  34.     Display = 4,
  35.     Scale = 1.0,
  36.     Colour = 3,
  37.     ShortRange = true,
  38.     Name = "Lester House",
  39.     Enabled = true,
  40. }
  41.  
  42. Config.TruckBlip = {
  43.     Truck = {
  44.         Sprite = 477,
  45.         Scale = 0.9,
  46.         Colour = 29,
  47.         Name = 'Security Truck'
  48.     },
  49.     TruckRadius = {
  50.         Radius = 300.0,
  51.         Name = 'TRUCK RADIUS',
  52.         Scale = 1.5,
  53.         Sprite = 477,
  54.         Colour = 2
  55.     }
  56.  
  57. }
  58.  
  59. Config.MissionStart = {
  60.     StartMissionCoords = vec3(1274.46, -1720.49, 55.05), -- Where target 3dtext etc appear
  61.     LeaveTeleportCoords = vec3(1274.78, -1720.97, 53.68), -- Where target 3dtext etc appear
  62.     CameraCoords = {x = 1276.4352, y = -1711.1195, z = 55.5042, rotX = 1.0, rotY = 0.0, rotZ = 85.8464, fov = 100.0}, -- Camera that will zoom on player 1
  63.     PlayerTypeAnim = vec4(1272.2938, -1711.5671, 53.7715, 32.3324), -- Where player have the animation of typing
  64.     VoiceTalk = true, -- Voice over after you successfully hack money truck location
  65.     Cutscene = true, -- If you want cutscene to be turned on
  66.     MaxTeamMembers = 2,  -- How many people can be in team recommended 2
  67.     PoliceRequire = 0 -- How many police / sheriff needs to be on server
  68. }
  69. Config.Offset = { x = 0.0, y = -3.5, z = 1.0 }
  70.  
  71. Config.TruckSpawn = {
  72.     vec4(120.7979, -1057.4402, 29.1865, 133.6441),
  73.     vec4(789.5583, -943.5524, 25.7265, 4.7960),
  74.     vec4(-528.9175, -327.5963, 35.0376, 28.9772),
  75.     vec4(-1263.7863, -646.8313, 26.8470, 25.3963)
  76. }
  77.  
  78. Config.Reward = {
  79.     Money = {Min = 1000, Max = 2500},
  80.     Gold = {Min = 1, Max = 3},
  81.     Diamond = {Min = 1, Max = 2},
  82. }
  83.  
  84.  
  85. Config.Shop = {
  86.     enabled = true,  
  87.     Header = "Explosives dealer",
  88.     Items = {
  89.         { label = 'C4', item = 'c4', description = "Buy C4 for: $", price = 500, MinAmount = 1, MaxAmount = 2},
  90.     },
  91.     Ped = {
  92.         model = `g_m_m_chicold_01`,
  93.         coords = vec4(463.4966, -751.1888, 26.3606, 125.2583),
  94.         scenario = "WORLD_HUMAN_AA_SMOKE"
  95.     },
  96.     Blip = {
  97.         RequireToAsk = true, -- if true he have to ask lester about location
  98.         Name = 'Explosive Dealer',
  99.         Sprite = 272,
  100.         Scale = 1.0,
  101.         Colour = 3,
  102.     },
  103.     Time = {
  104.         enabled = true, -- If true then npc will appear only in this between this time
  105.         time =  {
  106.             from = 20,  -- from 8:00 PM
  107.             to = 6     -- to 6:00 AM
  108.         }
  109.     }
  110. }
  111.  
  112. Config.SellShop = {
  113.     enabled = true,  
  114.     EnabledSellAll = true,
  115.     Header = "Sell",
  116.     Items = {  
  117.         { label = 'Diamond', item = 'diamond', description = "Sell diamonds for : $", price = 100, MinAmount = 1, MaxAmount = 20},
  118.         { label = 'Gold', item = 'gold', description = "Sell gold for : $", price = 40, MinAmount = 1, MaxAmount = 20},
  119.     },
  120.     Ped = {
  121.         model = `a_m_m_eastsa_01`,
  122.         coords = vec4(558.6343, -1563.3311, 28.2809, 45.8864),
  123.         scenario = "WORLD_HUMAN_AA_COFFEE"
  124.     },
  125.     Blip = {
  126.         Name = 'Illegal buyer',
  127.         Sprite = 272,
  128.         Scale = 1.0,
  129.         Colour = 3,
  130.     },
  131.     Time = {
  132.         enabled = true, -- If true then npc will appear only in this between this time
  133.         time =  {
  134.             from = 20,  -- from 8:00 PM
  135.             to = 6     -- to 6:00 AM
  136.         }
  137.     }
  138. }
  139.  
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement