Advertisement
Guest User

CONFIG

a guest
Aug 26th, 2022
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.11 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.Debug = false
  4. --SERVER SETTINGS
  5. Config.Framework = "ESX" -- Set your framework! qbcore, ESX, standalone
  6. Config.Target = "qtarget" -- Which Target system do u use? qb-target, qtarget
  7. Config.NotificationType = "ox_lib" -- ESX, ox_lib, qbcore
  8. Config.Dispatch = { enabled = true, script = "linden_outlawalert" } -- cd_dispatch, linden_outlawalert, ps-disptach
  9. Config.PoliceJobs = { 'police', 'sheriff' }
  10. Config.Progress = "ox" -- progressBars, ox, qbcore
  11. --PLAYER CONTROL
  12. Config.Logs = { enabled = true, type = "webhook" } -- use webhook or ox_lib (datadog) Can be changed in server > sv_utils.lua
  13. Config.DropPlayer = true -- Drop (Kick) Player if tries to cheat!
  14. Config.AnticheatBan = false -- Change in server/sv_Utils.lua!!! WIll not work by default you need to add your custom trigger to ban player!
  15.  
  16. --Vendings
  17. Config.Vendings = {
  18.     Props = { 785076010, 1243022785, 462203053 },
  19.     RequiredItems = {
  20.         { item = "coin", count = 1, remove = true },
  21.     },
  22.     ChanceToFindNothing = 5,
  23.     RandomItems = {
  24.         -- MAX 100% together
  25.         { item = "gum1", count = 1, chance = 20 },
  26.         { item = "gum2", count = 1, chance = 20 },
  27.         { item = "gum3", count = 1, chance = 20 },
  28.         { item = "gum4", count = 1, chance = 20 },
  29.         { item = "gum5", count = 1, chance = 20 },
  30.     },
  31. }
  32.  
  33. Config.Robbing = {
  34.     ReqPolice = 0, -- Police count
  35.     ReportChance = 100, --Dispatch Chance 0 - 100 %
  36.     Cooldown = 800, --seconds before next robbery
  37.     LockPick = true, -- lockpick minigame
  38.     RequiredItems = {
  39.         { item = "lockpick", count = 1, remove = true },
  40.     },
  41.     ChanceToFindNothing = 1,
  42.     AddItems = {
  43.         -- NO MAX 100% ADD CHANCES AS MUCH AS YOU WANT
  44.         { item = "coin", min = 10, max = 100, chance = 50 },
  45.         { item = "gum1", min = 1, max = 10, chance = 50 },
  46.         { item = "gum2", min = 1, max = 10, chance = 50 },
  47.         { item = "gum3", min = 1, max = 10, chance = 50 },
  48.         { item = "gum4", min = 1, max = 10, chance = 50 },
  49.         { item = "gum5", min = 1, max = 10, chance = 50 },
  50.     },
  51. }
  52.  
  53. --BLIPS
  54. Config.Blips = {
  55.     PawnShop = { -- do not use same value twice (will result in overwriting of blip)
  56.         BlipCoords = vec3(412.24, 314.88, 103.13), -- Blip coords
  57.         Sprite = 374, -- Blip Icon
  58.         Display = 4, -- keep 4
  59.         Scale = 0.8, -- Size of blip
  60.         Colour = 73, -- colour
  61.         Name = "Pawn Shop" -- Blip name
  62.     },
  63. }
  64.  
  65. --Pawnshop
  66. Config.PawnShop = {
  67.     Enabled = true,
  68.     Header = "Pawn Shop",
  69.     BuyItems = {
  70.         { label = 'Coin', item = 'coin', description = "Buy Coin for: $", price = 55, MinAmount = 1, MaxAmount = 10 },
  71.         { label = 'LockPick', item = 'lockpick', description = "Buy LockPick for: $", price = 155, MinAmount = 1,
  72.             MaxAmount = 2 },
  73.     },
  74.     SellItems = {
  75.         { label = 'Coin', item = 'coin', description = "Sell Coin for: $", price = 45, MinAmount = 1, MaxAmount = 100 },
  76.     },
  77.     Ped = {
  78.         { model = "a_m_m_prolhost_01", coords = vec4(412.24, 314.88, 103.13 - 1.0, 204.83),
  79.             scenario = "WORLD_HUMAN_SMOKING" },
  80.     },
  81. }
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement