Guest User

CONFIG

a guest
Nov 13th, 2022
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 33.50 KB | None | 0 0
  1. --ONLY CONFIG NAMED sh_config.lua will work!
  2.  
  3. Config = {}
  4.  
  5. Config.Debug = false -- Debug
  6. --SERVER SETTINGS
  7. Config.Framework = "ESX" -- Framework | types: qbcore, ESX, standalone
  8. Config.Target = "qtarget" -- Target | types: qb-target, qtarget, ox_target
  9. Config.BossMenu = "esx_society" -- BossMenu | types: esx_society, qb-management, zerio-bossmenu
  10. Config.NotificationType = "ox_lib" -- Notifications | types: ESX, ox_lib, qbcore
  11. Config.Progress = "ox_lib" -- ProgressBar | types: progressBars, ox_lib, qbcore
  12. Config.Clothing = "fivem-appearance" -- Skin / Clothing | types: esx_skin, qb-clothing, fivem-appearance, ox_appearance
  13. Config.Context = "ox_lib" -- Context | types: ox_lib, qbcore
  14. Config.Input = "ox_lib" -- Input | types: ox_lib, qb-input
  15. --PLAYER SETTINGS
  16. Config.JobName = "tequilala" -- Job name for tequilala
  17. Config.BossGrade = 4 -- Boss Grade
  18. Config.NeedDuty = true -- Required duty to make drinks etc.
  19. Config.NeedCleanHands = true -- Required to clean hands to make drinks etc.
  20.  
  21. Config.Logs = { enabled = true, type = "webhook" } -- use webhook or ox_lib (datadog) Can be changed in server > sv_utils.lua
  22. Config.DropPlayer = true -- Drop (Kick) Player if tries to cheat!
  23. Config.AnticheatBan = false -- Change in server/sv_Utils.lua!!! WIll not work by default you need to add your custom trigger to ban player!
  24.  
  25. Config.tequila = {
  26.     PolyZone = {
  27.         coords = vector3(-557.19, 284.63, 91.8), size = vec3(44.4, 43.2, 40), rotation = 355, debug = false, RemovePeds = true, radius = 50.0
  28.     },
  29.  
  30.     Garage = {
  31.         Ped = {
  32.             { Model = "s_m_y_xmech_01", Coords = vec4(-554.7457, 311.7628, 82.1755, 170.515),
  33.                 Scenario = "WORLD_HUMAN_SMOKING"
  34.             }
  35.         },
  36.         Vehicles = {
  37.             { Model = "nspeedo", Label = "Vapid Speedo", livery = 1 },
  38.         },
  39.         SpawnPoints = {
  40.             { Coords = vector3(-550.3413, 308.4235, 82.9975), Heading = 176.0541, Radius = 3.0 },
  41.             { Coords = vector3(-557.4546, 303.9832, 83.0693), Heading = 265.4665, Radius = 3.0 }
  42.         },
  43.     },
  44.  
  45.     SpawnObjects = true, -- all objects can be found in cl_Utils.lua
  46.  
  47.     Bars = {
  48.         FrontBar = {
  49.             coords = vector3(-564.1722, 286.2663, 85.7096),
  50.             radius = 0.7,
  51.             debug = false,
  52.             camera = {
  53.                 enabled = true,
  54.                 coords = vector3(-564.8976, 286.8198, 85.8775),
  55.                 rotation = vector3(-4.29, 0.0, 240.4741),
  56.             },
  57.         },
  58.         BackBar = {
  59.             coords = vector3(-560.9145, 286.0350, 82.3082),
  60.             radius = 0.7,
  61.             debug = false,
  62.             camera = {
  63.                 enabled = true,
  64.                 coords = vector3(-561.7242, 287.1134, 82.676),
  65.                 rotation = vector3(0.0, 0.0, 239.4791),
  66.             },
  67.         },
  68.     },
  69.  
  70.     Sinks = {
  71.         FrontBar = {
  72.             coords = vector3(-561.3, 287.38, 82.18),
  73.             radius = 0.3,
  74.             debug = false,
  75.             WaterStream = vector3(-561.17, 287.4, 82.04),
  76.         --[[},
  77.         BackBar = {
  78.             coords = vector3(-1374.89, -627.13, 30.81),
  79.             radius = 0.7,
  80.             debug = false,
  81.  
  82.             WaterStream = vector3(-1374.72, -626.84, 31.0),]]
  83.         },
  84.     },
  85.  
  86.     Duty = {
  87.         Main = { coords = vector3(-563.8265, 282.6790, 82.5765), radius = 0.85, debug = false },
  88.         --Front = { coords = vector3(-565.2765, 284.6785, 85.3777), radius = 0.65, debug = false },
  89.     },
  90.  
  91.     CloakRoom = {
  92.         Main = { coords = vector3(-567.1927, 279.7489, 82.9760), radius = 0.7, debug = false },
  93.         --Front = { coords = vector3(-1368.88, -613.94, 30.49), radius = 0.7, debug = false },
  94.     },
  95.  
  96.     Stashes = {
  97.  
  98.         Main = {
  99.             name = "Tequila_Refregiator",
  100.             label = "Tequila Refregiator",
  101.             TargetIcon = "fas fa-ice-cream",
  102.             TargetLabel = "Refregiator",
  103.             Slots = 20,
  104.             Weight = 50000, -- 50 KG
  105.             coords = vector3(-565.96, 287.41, 84.88),
  106.             radius = 0.35,
  107.             debug = false,
  108.             job = "tequilala"
  109.         },
  110.  
  111.         Refregiator2 = {
  112.             name = "Tequila_Refregiator2",
  113.             label = "Tequila Refregiator 2",
  114.             TargetIcon = "fas fa-ice-cream",
  115.             TargetLabel = "Refregiator",
  116.             Slots = 20,
  117.             Weight = 50000, -- 50 KG
  118.             coords = vector3(-566.02, 286.77, 84.88),
  119.             radius = 0.35,
  120.             debug = false,
  121.             job = "tequilala"
  122.         },
  123.  
  124.         Refregiato3 = {
  125.             name = "Tequila_Refregiator3",
  126.             label = "Tequila Refregiator 3",
  127.             TargetIcon = "fas fa-ice-cream",
  128.             TargetLabel = "Refregiator",
  129.             Slots = 20,
  130.             Weight = 50000, -- 50 KG
  131.             coords = vector3(-565.96, 286.11, 84.88),
  132.             radius = 0.35,
  133.             debug = false,
  134.             job = "tequilala"
  135.         },
  136.  
  137.         Refregiato4 = {
  138.             name = "Tequila_Refregiator4",
  139.             label = "Tequila Refregiator 4",
  140.             TargetIcon = "fas fa-ice-cream",
  141.             TargetLabel = "Refregiator",
  142.             Slots = 20,
  143.             Weight = 50000, -- 50 KG
  144.             coords = vector3(-566.01, 285.44, 84.88),
  145.             radius = 0.35,
  146.             debug = false,
  147.             job = "tequilala"
  148.         },
  149.  
  150.         Refregiato5 = {
  151.             name = "Tequila_Refregiator5",
  152.             label = "Tequila Refregiator 5",
  153.             TargetIcon = "fas fa-ice-cream",
  154.             TargetLabel = "Refregiator",
  155.             Slots = 20,
  156.             Weight = 50000, -- 50 KG
  157.             coords = vector3(-566.08, 284.79, 84.88),
  158.             radius = 0.35,
  159.             debug = false,
  160.             job = "tequilala"
  161.         },
  162.  
  163.         Refregiato6 = {
  164.             name = "Tequila_Refregiator6",
  165.             label = "Tequila Refregiator 6",
  166.             TargetIcon = "fas fa-ice-cream",
  167.             TargetLabel = "Refregiator",
  168.             Slots = 20,
  169.             Weight = 50000, -- 50 KG
  170.             coords = vector3(-562.55, 288.5, 81.88),
  171.             radius = 0.35,
  172.             debug = false,
  173.             job = "tequilala"
  174.         },
  175.  
  176.         Refregiato7 = {
  177.             name = "Tequila_Refregiator7",
  178.             label = "Tequila Refregiator 7",
  179.             TargetIcon = "fas fa-ice-cream",
  180.             TargetLabel = "Refregiator",
  181.             Slots = 20,
  182.             Weight = 50000, -- 50 KG
  183.             coords = vector3(-562.52, 287.82, 81.88),
  184.             radius = 0.35,
  185.             debug = false,
  186.             job = "tequilala"
  187.         },
  188.  
  189.         Refregiato8 = {
  190.             name = "Tequila_Refregiator8",
  191.             label = "Tequila Refregiator 8",
  192.             TargetIcon = "fas fa-ice-cream",
  193.             TargetLabel = "Refregiator",
  194.             Slots = 20,
  195.             Weight = 50000, -- 50 KG
  196.             coords = vector3(-562.61, 287.21, 81.88),
  197.             radius = 0.35,
  198.             debug = false,
  199.             job = "tequilala"
  200.         },
  201.  
  202.         Refregiato9 = {
  203.             name = "Tequila_Refregiator9",
  204.             label = "Tequila Refregiator 9",
  205.             TargetIcon = "fas fa-ice-cream",
  206.             TargetLabel = "Refregiator",
  207.             Slots = 20,
  208.             Weight = 50000, -- 50 KG
  209.             coords = vector3(-562.64, 286.56, 81.88),
  210.             radius = 0.35,
  211.             debug = false,
  212.             job = "tequilala"
  213.         },
  214.  
  215.         Table = {
  216.             name = "Tequila_Table",
  217.             label = "Tequila Table",
  218.             TargetIcon = "fas fa-tablet",
  219.             TargetLabel = "Table",
  220.             Slots = 20,
  221.             Weight = 50000, -- 50 KG
  222.             coords = vector3(-556.8837, 291.2232, 81.8357),
  223.             radius = 0.5,
  224.             debug = false
  225.         },
  226.  
  227.         Table2 = {
  228.             name = "Tequila_Table2",
  229.             label = "Tequila Table 2",
  230.             TargetIcon = "fas fa-tablet",
  231.             TargetLabel = "Table",
  232.             Slots = 20,
  233.             Weight = 50000, -- 50 KG
  234.             coords = vector3(-555.5498, 279.3219, 81.7576),
  235.             radius = 0.5,
  236.             debug = false
  237.         },
  238.  
  239.         Table3 = {
  240.             name = "Tequila_Table3",
  241.             label = "Tequila Table 3",
  242.             TargetIcon = "fas fa-tablet",
  243.             TargetLabel = "Table",
  244.             Slots = 20,
  245.             Weight = 50000, -- 50 KG
  246.             coords = vector3(-560.4209, 289.2966, 84.9580),
  247.             radius = 0.8,
  248.             debug = false
  249.         },
  250.  
  251.         Table4 = {
  252.             name = "Tequila_Table4",
  253.             label = "Tequila Table 4",
  254.             TargetIcon = "fas fa-tablet",
  255.             TargetLabel = "Table",
  256.             Slots = 20,
  257.             Weight = 50000, -- 50 KG
  258.             coords = vector3(-576.1061, 290.3923, 78.7576),
  259.             radius = 0.5,
  260.             debug = false
  261.         },
  262.  
  263.         Table5 = {
  264.             name = "Tequila_Table5",
  265.             label = "Tequila Table 5",
  266.             TargetIcon = "fas fa-tablet",
  267.             TargetLabel = "Table",
  268.             Slots = 20,
  269.             Weight = 50000, -- 50 KG
  270.             coords = vector3(-576.3963, 285.9012, 78.9519),
  271.             radius = 0.5,
  272.             debug = false
  273.         },
  274.  
  275.         Table6 = {
  276.             name = "Tequila_Table6",
  277.             label = "Tequila Table 6",
  278.             TargetIcon = "fas fa-tablet",
  279.             TargetLabel = "Table",
  280.             Slots = 20,
  281.             Weight = 50000, -- 50 KG
  282.             coords = vector3(-572.8433, 285.5431, 78.932),
  283.             radius = 0.5,
  284.             debug = false
  285.         },
  286.  
  287.     },
  288.  
  289.     BossMenu = {
  290.         Main = { coords = vector3(-568.64, 290.77, 79.18), radius = 0.7, debug = false },
  291.     },
  292.  
  293.     IceMachine = {
  294.         FrontBar = { coords = vector3(-563.1377, 284.6246, 81.9787), radius = 0.7, debug = false },
  295.     },
  296.  
  297.     Registers = {
  298.         FrontBar = { coords = vector3(-560.5593, 289.3664, 82.2488), radius = 0.7, debug = false, amount = 0 },
  299.         BackBar = { coords = vector3(-564.0944, 285.2886, 85.6246), radius = 0.5, debug = false, amount = 0 },
  300.         Bar = { coords = vector3(-563.7737, 278.8416, 83.1397), radius = 0.5, debug = false, amount = 0 },
  301.     },
  302.  
  303.     DancePlatforms = {
  304.         Platform1 = { coords = vector3(-554.1354, 287.7346, 81.17), radius = 0.7, debug = false,
  305.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  306.         Platform2 = { coords = vector3(-554.89, 285.55, 81.17), radius = 0.7, debug = false,
  307.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  308.         Platform3 = { coords = vector3(-555.12, 283.23, 81.17), radius = 0.7, debug = false,
  309.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  310.         Platform4 = { coords = vector3(-555.00, 281.02, 81.17), radius = 0.7, debug = false,
  311.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  312.         Platform5 = { coords = vector3(-557.64, 280.17, 81.17), radius = 0.7, debug = false,
  313.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  314.         Platform6 = { coords = vector3(-557.53, 283.34, 81.17), radius = 0.7, debug = false,
  315.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  316.         Platform7 = { coords = vector3(-557.37, 285.69, 81.17), radius = 0.7, debug = false,
  317.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  318.         Platform8 = { coords = vector3(-557.00, 287.89, 81.17), radius = 0.7, debug = false,
  319.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  320.         Platform9 = { coords = vector3(-559.6888, 286.7726, 84.90), radius = 0.7, debug = false,
  321.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  322.         Platform10 = { coords = vector3(-560.0721, 284.7720, 84.90), radius = 0.7, debug = false,
  323.             dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@", anim = "high_center" },
  324.         DJ = { coords = vector3(-560.76, 281.76, 85.67), radius = 0.7, debug = false,
  325.             dict = "anim@amb@nightclub@djs@dixon@", anim = "dixn_dance_cntr_open_dix" },
  326.         Quitar1 = { coords = vector3(-551.1349, 282.0548, 81.9767), radius = 0.7, debug = false,
  327.             dict = "amb@world_human_musician@guitar@male@idle_a", anim = "idle_b" },
  328.         Quitar2 = { coords = vector3(-551.5442, 284.2101, 81.9767), radius = 0.7, debug = false,
  329.             dict = "amb@world_human_musician@guitar@male@idle_a", anim = "idle_b" },
  330.         Quitar3 = { coords = vector3(-550.8552, 286.7409, 81.9767), radius = 0.7, debug = false,
  331.             dict = "amb@world_human_musician@guitar@male@idle_a", anim = "idle_b" },
  332.     },
  333.  
  334.     Teleports = {
  335.         FrontBar = {
  336.             coords = vector3(-563.8512, 287.6432, 85.6261),
  337.             radius = 0.7,
  338.             debug = false,
  339.             BehindCoords = { coords = vector3(-564.5140, 287.7162, 84.3771), heading = 86.2596 },
  340.             FrontCoords = { coords = vector3(-563.2971, 287.6181, 84.3764), heading = 102.0459 },
  341.         },
  342.     }
  343. }
  344.  
  345. --Drinks
  346. Config.Drinks = {
  347.     PinaColada = {
  348.         Title = "Piña Colada",
  349.         description = "Requirements: Tall glass, Rhum, Ice, Coco Milk",
  350.         RequiredItems = {
  351.             { item = "glass_tall", count = 1, remove = true },
  352.             { item = "rhum", count = 1, remove = true },
  353.             { item = "ice", count = 1, remove = true },
  354.             { item = "coco_milk", count = 1, remove = true },
  355.         },
  356.         AddItems = {
  357.             { item = "pina_colada", count = 1 },
  358.         }
  359.     },
  360.     Mojito = {
  361.         Title = "Mojito",
  362.         description = "Requirements: Tall glass, Rhum, Lime, Sugar, Juice, Mint, Ice",
  363.         RequiredItems = {
  364.             { item = "glass_tall", count = 1, remove = true },
  365.             { item = "rhum", count = 1, remove = true },
  366.             { item = "ice", count = 1, remove = true },
  367.             { item = "mint", count = 1, remove = true },
  368.             { item = "juice", count = 1, remove = true },
  369.             { item = "sugar", count = 1, remove = true },
  370.             { item = "lime", count = 1, remove = true },
  371.         },
  372.         AddItems = {
  373.             { item = "mojito", count = 1 },
  374.         }
  375.     },
  376.     MaiTai = {
  377.         Title = "Mai Tai",
  378.         description = "Requirements: Tall glass, Rhum, Lime, Juice, Ice",
  379.         RequiredItems = {
  380.             { item = "glass_tall", count = 1, remove = true },
  381.             { item = "rhum", count = 1, remove = true },
  382.             { item = "ice", count = 1, remove = true },
  383.             { item = "lime", count = 1, remove = true },
  384.             { item = "juice", count = 1, remove = true },
  385.         },
  386.         AddItems = {
  387.             { item = "mai_tai", count = 1 },
  388.         }
  389.     },
  390.     Caipirinha = {
  391.         Title = "Caipirinha",
  392.         description = "Requirements: Tall glass, Rhum, Lime, Sugar, Ice",
  393.         RequiredItems = {
  394.             { item = "glass_tall", count = 1, remove = true },
  395.             { item = "rhum", count = 1, remove = true },
  396.             { item = "ice", count = 1, remove = true },
  397.             { item = "lime", count = 1, remove = true },
  398.             { item = "sugar", count = 1, remove = true },
  399.             { item = "ice", count = 1, remove = true },
  400.         },
  401.         AddItems = {
  402.             { item = "caipirinha", count = 1 },
  403.         }
  404.     },
  405.     SanFrancisco = {
  406.         Title = "San Francisco",
  407.         description = "Requirements: Tall glass, Gin, Juice, Ice",
  408.         RequiredItems = {
  409.             { item = "glass_tall", count = 1, remove = true },
  410.             { item = "gin", count = 1, remove = true },
  411.             { item = "juice", count = 1, remove = true },
  412.             { item = "ice", count = 1, remove = true },
  413.         },
  414.         AddItems = {
  415.             { item = "san_francisco", count = 1 },
  416.         }
  417.     },
  418.     BlueLagoon = {
  419.         Title = "Blue Lagoon",
  420.         description = "Requirements: Tall glass, Vodka, Lemon, Ice",
  421.         RequiredItems = {
  422.             { item = "glass_tall", count = 1, remove = true },
  423.             { item = "vodka", count = 1, remove = true },
  424.             { item = "ice", count = 1, remove = true },
  425.             { item = "lemon", count = 1, remove = true },
  426.         },
  427.         AddItems = {
  428.             { item = "blue_lagoon", count = 1 },
  429.         }
  430.     }
  431. }
  432.  
  433. --Food
  434. Config.Food = {
  435.     bar_nuts = {
  436.         Title = "Bowl with Nuts",
  437.         description = "Requirements: Bowl, Nuts",
  438.         RequiredItems = {
  439.             { item = "bar_bowl", count = 1, remove = true },
  440.             { item = "nuts", count = 1, remove = true },
  441.         },
  442.         AddItems = {
  443.             { item = "bar_nuts", count = 1 },
  444.         }
  445.     },
  446.     bar_beans = {
  447.         Title = "Bowl with Beans",
  448.         description = "Requirements: Bowl, Beans",
  449.         RequiredItems = {
  450.             { item = "bar_bowl", count = 1, remove = true },
  451.             { item = "beans", count = 1, remove = true },
  452.         },
  453.         AddItems = {
  454.             { item = "bar_beans", count = 1 },
  455.         }
  456.     },
  457. }
  458.  
  459.  
  460.  
  461. --Sink
  462. Config.Sink = {
  463.     CleanTallGlass = {
  464.         Title = "Clean Tall Glass",
  465.         description = "Requirements: Dirty Tall Glass",
  466.         prop = `prop_sh_tall_glass`,
  467.         RequiredItems = {
  468.             { item = "glass_tall_dirty", count = 1, remove = true },
  469.         },
  470.         AddItems = {
  471.             { item = "glass_tall", count = 1 },
  472.         }
  473.     },
  474.     CleanBowl = {
  475.         Title = "Clean Bowl",
  476.         description = "Requirements: Dirty Bowl",
  477.         prop = `prop_bar_beans`,
  478.         RequiredItems = {
  479.             { item = "bar_bowl_dirty", count = 1, remove = true },
  480.         },
  481.         AddItems = {
  482.             { item = "bar_bowl", count = 1 },
  483.         }
  484.     },
  485. }
  486.  
  487. --IceMachine
  488. Config.IceMachine = {
  489.     Ice = {
  490.         Title = "Get Ice Cube",
  491.         description = "Get ice cube to drinks!",
  492.         RequiredItems = {
  493.             --{ item = nil, count = 1, remove = false },
  494.         },
  495.         AddItems = {
  496.             { item = "ice", count = 1 },
  497.         }
  498.     },
  499. }
  500.  
  501. --BLIPS
  502. Config.Blips = {
  503.     tequilala = { -- do not use same value twice (will result in overwriting of blip)
  504.         BlipCoords = vec3(-559.3100, 286.0797, 91.7979), -- Blip coords
  505.         Sprite = 93, -- Blip Icon
  506.         Display = 4, -- keep 4
  507.         Scale = 0.8, -- Size of blip
  508.         Colour = 5, -- colour
  509.         Name = "Tequi-la-la" -- Blip name
  510.     },
  511. }
  512.  
  513. --Job BLIPS
  514. Config.JobBlips = {
  515.     PawnShop = { -- do not use same value twice (will result in overwriting of blip)
  516.         BlipCoords = vec3(55.2491, -1739.5697, 28.5901), -- Blip coords
  517.         Sprite = 59, -- Blip Icon
  518.         Display = 4, -- keep 4
  519.         Scale = 0.8, -- Size of blip
  520.         Colour = 5, -- colour
  521.         Name = "Tequi-la-la - Shop" -- Blip name
  522.     },
  523. }
  524.  
  525. --Shop
  526. Config.Shop = {
  527.     Header = "tequilala Shop",
  528.     Items = {
  529.         { label = 'Coco Milk', item = 'coco_milk', description = "Buy Coco Milk for: $", price = 7, MinAmount = 1,
  530.             MaxAmount = 20 },
  531.         { label = 'Dirty Tall Glass', item = 'glass_tall_dirty', description = "Buy Dirty Tall Glass for: $", price = 2,
  532.             MinAmount = 1, MaxAmount = 20 },
  533.         { label = 'Juice', item = 'juice', description = "Buy Juice for: $", price = 5, MinAmount = 1,
  534.             MaxAmount = 20 },
  535.         { label = 'Lemon', item = 'lemon', description = "Buy Lemon for: $", price = 6, MinAmount = 1,
  536.             MaxAmount = 20 },
  537.         { label = 'Lime', item = 'lime', description = "Buy Lime for: $", price = 5, MinAmount = 1,
  538.             MaxAmount = 20 },
  539.         { label = 'Mint', item = 'mint', description = "Buy Mint for: $", price = 5, MinAmount = 1,
  540.             MaxAmount = 20 },
  541.         { label = 'rhum', item = 'Rhum', description = "Buy Rhum for: $", price = 8, MinAmount = 1,
  542.             MaxAmount = 20 },
  543.         { label = 'Sugar', item = 'sugar', description = "Buy Sugar for: $", price = 4, MinAmount = 1,
  544.             MaxAmount = 20 },
  545.         { label = 'Vodka', item = 'vodka', description = "Buy Vodka for: $", price = 8, MinAmount = 1,
  546.             MaxAmount = 20 },
  547.         { label = 'Dirty bowl', item = 'bar_bowl_dirty', description = "Buy Dirty Bowl for: $", price = 8, MinAmount = 1,
  548.             MaxAmount = 20 },
  549.         { label = 'Nuts', item = 'nuts', description = "Buy Nuts for: $", price = 8, MinAmount = 1,
  550.             MaxAmount = 20 },
  551.         { label = 'Beans', item = 'beans', description = "Buy Beans for: $", price = 8, MinAmount = 1,
  552.             MaxAmount = 20 },
  553.     },
  554.     Ped = {
  555.         { model = "mp_m_shopkeep_01", coords = vec4(55.2491, -1739.5697, 28.5901, 58.1172), scenario = "WORLD_HUMAN_SMOKING" },
  556.     },
  557. }
  558.  
  559. -- Consumables / Drinking / Eating
  560. Config.Consumables = {
  561.     bar_nuts = { -- Item name
  562.         Log = "He ate nuts",
  563.         Remove = true, -- Remove item
  564.         RemoveItem = "bar_nuts", -- Remove Item name
  565.         RemoveItemCount = 1, -- Remove Item Count
  566.         Add = true,
  567.         AddItem = "bar_bowl_dirty", -- Remove Item name
  568.         AddItemCount = 1, -- Remove Item Count
  569.         ProgressBar = "Eating...",
  570.         duration = 12500,
  571.         Effect = { status = "hunger", add = 100000 },
  572.         animation = {
  573.             emote = {
  574.                 enabled = true,
  575.                 anim = {
  576.                     dict = 'mp_player_inteat@burger',
  577.                     clip = 'mp_player_int_eat_burger'
  578.                 },
  579.                 prop = {
  580.                     model = 'prop_bar_nuts',
  581.                     bone = 18905,
  582.                     pos = vec3(0.13, 0.06, 0.02),
  583.                     rot = vec3(-130.0, -7.0, 0.0)
  584.                 },
  585.             },
  586.             scenario = {
  587.                 enabled = false,
  588.                 anim = {
  589.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  590.                 },
  591.             },
  592.         }
  593.     },
  594.     bar_beans = { -- Item name
  595.         Log = "He ate beans",
  596.         Remove = true, -- Remove item
  597.         RemoveItem = "bar_beans", -- Remove Item name
  598.         RemoveItemCount = 1, -- Remove Item Count
  599.         Add = true,
  600.         AddItem = "bar_bowl_dirty", -- Remove Item name
  601.         AddItemCount = 1, -- Remove Item Count
  602.         ProgressBar = "Eating...",
  603.         duration = 12500,
  604.         Effect = { status = "hunger", add = 100000 },
  605.         animation = {
  606.             emote = {
  607.                 enabled = true,
  608.                 anim = {
  609.                     dict = 'mp_player_inteat@burger',
  610.                     clip = 'mp_player_int_eat_burger'
  611.                 },
  612.                 prop = {
  613.                     model = 'prop_bar_beans',
  614.                     bone = 18905,
  615.                     pos = vec3(0.13, 0.06, 0.02),
  616.                     rot = vec3(-130.0, -7.0, 0.0)
  617.                 },
  618.             },
  619.             scenario = {
  620.                 enabled = false,
  621.                 anim = {
  622.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  623.                 },
  624.             },
  625.         }
  626.     },
  627.     pina_colada = { -- Item name
  628.         Log = "Drank Pina colada",
  629.         Remove = true, -- Remove item
  630.         RemoveItem = "pina_colada", -- Remove Item name
  631.         RemoveItemCount = 1, -- Remove Item Count
  632.         Add = true,
  633.         AddItem = "glass_tall_dirty", -- Remove Item name
  634.         AddItemCount = 1, -- Remove Item Count
  635.         ProgressBar = "Drinking...",
  636.         duration = 12500,
  637.         Effect = { status = "drunk", add = 100000 },
  638.         animation = {
  639.             emote = {
  640.                 enabled = true,
  641.                 anim = {
  642.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  643.                     clip = 'idle_c'
  644.                 },
  645.                 prop = {
  646.                     model = 'prop_cocktail',
  647.                     bone = 57005,
  648.                     pos = vec3(0.14, -0.07, -0.01),
  649.                     rot = vec3(-80.0, 100.0, 0.0)
  650.                 },
  651.  
  652.             },
  653.             scenario = {
  654.                 enabled = false,
  655.                 anim = {
  656.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  657.                 },
  658.             },
  659.         }
  660.     },
  661.     mojito = { -- Item name
  662.         Log = "Drank mojito",
  663.         Remove = true, -- Remove item
  664.         RemoveItem = "mojito", -- Remove Item name
  665.         RemoveItemCount = 1, -- Remove Item Count
  666.         Add = true,
  667.         AddItem = "glass_tall_dirty", -- Remove Item name
  668.         AddItemCount = 1, -- Remove Item Count
  669.         ProgressBar = "Drinking...",
  670.         duration = 12500,
  671.         Effect = { status = "drunk", add = 100000 },
  672.         animation = {
  673.             emote = {
  674.                 enabled = true,
  675.                 anim = {
  676.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  677.                     clip = 'idle_c'
  678.                 },
  679.                 prop = {
  680.                     model = 'prop_cocktail',
  681.                     bone = 57005,
  682.                     pos = vec3(0.14, -0.07, -0.01),
  683.                     rot = vec3(-80.0, 100.0, 0.0)
  684.                 },
  685.  
  686.             },
  687.             scenario = {
  688.                 enabled = false,
  689.                 anim = {
  690.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  691.                 },
  692.             },
  693.         }
  694.     },
  695.     mai_tai = { -- Item name
  696.         Log = "Drank mai_tai",
  697.         Remove = true, -- Remove item
  698.         RemoveItem = "mai_tai", -- Remove Item name
  699.         RemoveItemCount = 1, -- Remove Item Count
  700.         Add = true,
  701.         AddItem = "glass_tall_dirty", -- Remove Item name
  702.         AddItemCount = 1, -- Remove Item Count
  703.         ProgressBar = "Drinking...",
  704.         duration = 12500,
  705.         Effect = { status = "drunk", add = 100000 },
  706.         animation = {
  707.             emote = {
  708.                 enabled = true,
  709.                 anim = {
  710.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  711.                     clip = 'idle_c'
  712.                 },
  713.                 prop = {
  714.                     model = 'prop_cocktail',
  715.                     bone = 57005,
  716.                     pos = vec3(0.14, -0.07, -0.01),
  717.                     rot = vec3(-80.0, 100.0, 0.0)
  718.                 },
  719.  
  720.             },
  721.             scenario = {
  722.                 enabled = false,
  723.                 anim = {
  724.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  725.                 },
  726.             },
  727.         }
  728.     },
  729.     caipirinha = { -- Item name
  730.         Log = "Drank caipirinha",
  731.         Remove = true, -- Remove item
  732.         RemoveItem = "caipirinha", -- Remove Item name
  733.         RemoveItemCount = 1, -- Remove Item Count
  734.         Add = true,
  735.         AddItem = "glass_tall_dirty", -- Remove Item name
  736.         AddItemCount = 1, -- Remove Item Count
  737.         ProgressBar = "Drinking...",
  738.         duration = 12500,
  739.         Effect = { status = "drunk", add = 100000 },
  740.         animation = {
  741.             emote = {
  742.                 enabled = true,
  743.                 anim = {
  744.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  745.                     clip = 'idle_c'
  746.                 },
  747.                 prop = {
  748.                     model = 'prop_cocktail',
  749.                     bone = 57005,
  750.                     pos = vec3(0.14, -0.07, -0.01),
  751.                     rot = vec3(-80.0, 100.0, 0.0)
  752.                 },
  753.  
  754.             },
  755.             scenario = {
  756.                 enabled = false,
  757.                 anim = {
  758.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  759.                 },
  760.             },
  761.         }
  762.     },
  763.     san_francisco = { -- Item name
  764.         Log = "Drank san_francisco",
  765.         Remove = true, -- Remove item
  766.         RemoveItem = "san_francisco", -- Remove Item name
  767.         RemoveItemCount = 1, -- Remove Item Count
  768.         Add = true,
  769.         AddItem = "glass_tall_dirty", -- Remove Item name
  770.         AddItemCount = 1, -- Remove Item Count
  771.         ProgressBar = "Drinking...",
  772.         duration = 12500,
  773.         Effect = { status = "drunk", add = 100000 },
  774.         animation = {
  775.             emote = {
  776.                 enabled = true,
  777.                 anim = {
  778.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  779.                     clip = 'idle_c'
  780.                 },
  781.                 prop = {
  782.                     model = 'prop_cocktail',
  783.                     bone = 57005,
  784.                     pos = vec3(0.14, -0.07, -0.01),
  785.                     rot = vec3(-80.0, 100.0, 0.0)
  786.                 },
  787.             },
  788.             scenario = {
  789.                 enabled = false,
  790.                 anim = {
  791.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  792.                 },
  793.             },
  794.         }
  795.     },
  796.     blue_lagoon = { -- Item name
  797.         Log = "Drank blue_lagoon",
  798.         Remove = true, -- Remove item
  799.         RemoveItem = "blue_lagoon", -- Remove Item name
  800.         RemoveItemCount = 1, -- Remove Item Count
  801.         Add = true,
  802.         AddItem = "glass_tall_dirty", -- Remove Item name
  803.         AddItemCount = 1, -- Remove Item Count
  804.         ProgressBar = "Drinking...",
  805.         duration = 12500,
  806.         Effect = { status = "drunk", add = 100000 },
  807.         animation = {
  808.             emote = {
  809.                 enabled = true,
  810.                 anim = {
  811.                     dict = 'amb@world_human_drinking@coffee@male@idle_a',
  812.                     clip = 'idle_c'
  813.                 },
  814.                 prop = {
  815.                     model = 'prop_cocktail',
  816.                     bone = 57005,
  817.                     pos = vec3(0.14, -0.07, -0.01),
  818.                     rot = vec3(-80.0, 100.0, 0.0)
  819.                 },
  820.             },
  821.             scenario = {
  822.                 enabled = false,
  823.                 anim = {
  824.                     scenario = "WORLD_HUMAN_SMOKING_POT"
  825.                 },
  826.             },
  827.         }
  828.     },
  829. }
  830.  
  831. Config.ChairsDebug = false
  832. Config.Chairs = {
  833.     --TABLE 1
  834.     {
  835.         coords = vector3(-558.4293, 292.5055, 81.87), offsetZ = -0.10, heading = 173.94, radius = 0.5, distance = 1.7,
  836.         LeaveCoords = vector4(-558.41, 292.09, 80.17, 178.31)
  837.     },
  838.     {
  839.         coords = vector3(-557.44, 292.45, 81.87), offsetZ = -0.10, heading = 185.92, radius = 0.5, distance = 1.7,
  840.         LeaveCoords = vector4(-557.47, 292.09, 80.17, 173.56)
  841.     },
  842.     {
  843.         coords = vector3(-556.44, 292.41, 81.87), offsetZ = -0.10, heading = 178.41, radius = 0.5, distance = 1.7,
  844.         LeaveCoords = vector4(-556.49, 291.95, 80.17, 173.68)
  845.     },
  846.     {
  847.         coords = vector3(-555.5638, 291.3895, 81.87), offsetZ = -0.10, heading = 77.4831, radius = 0.5, distance = 1.7,
  848.         LeaveCoords = vector4(-556.0602, 291.4368, 80.17, 86.5523)
  849.     },
  850.     --TABLE 2
  851.     {
  852.         coords = vector3(-552.9592, 277.2185, 81.87), offsetZ = -0.10, heading = 358.3037, radius = 0.5, distance = 1.7,
  853.         LeaveCoords = vector4(-552.8854, 277.7456, 80.17, 347.8564)
  854.     },
  855.     {
  856.         coords = vector3(-553.9256, 277.3260, 81.87), offsetZ = -0.10, heading = 4.4039, radius = 0.5, distance = 1.7,
  857.         LeaveCoords = vector4(-553.8399, 277.8267, 80.17, 354.6588)
  858.     },
  859.     {
  860.         coords = vector3(-554.9364, 277.4227, 81.87), offsetZ = -0.10, heading = 349.0887, radius = 0.5, distance = 1.7,
  861.         LeaveCoords = vector4(-554.8815, 277.8810, 80.17, 355.1906)
  862.     },
  863.     {
  864.         coords = vector3(-555.9250, 277.5093, 81.87), offsetZ = -0.10, heading = 348.3815, radius = 0.5, distance = 1.7,
  865.         LeaveCoords = vector4(-555.8688, 277.9559, 80.17, 350.3927)
  866.     },
  867.     --TABLE 3
  868.     {
  869.         coords = vector3(-561.7722, 290.8151, 85.06), offsetZ = -0.10, heading = 180.01, radius = 0.5, distance = 1.7,
  870.         LeaveCoords = vector4(-561.7913, 290.3491, 83.90, 174.0923)
  871.     },
  872.     {
  873.         coords = vector3(-560.7543, 290.7260, 85.06), offsetZ = -0.10, heading = 177.2096, radius = 0.5, distance = 1.7,
  874.         LeaveCoords = vector4(-560.7780, 290.2425, 83.90, 173.4936)
  875.     },
  876.     {
  877.         coords = vector3(-559.9745, 290.6104, 85.06), offsetZ = -0.10, heading = 175.8882, radius = 0.5, distance = 1.7,
  878.         LeaveCoords = vector4(-559.9808, 290.2488, 83.90, 168.6525)
  879.     },
  880.     {
  881.         coords = vector3(-558.8746, 290.5140, 85.06), offsetZ = -0.10, heading = 173.9458, radius = 0.5, distance = 1.7,
  882.         LeaveCoords = vector4(-558.8887, 290.0674, 83.90, 178.6061)
  883.     },
  884.     --TABLE 4
  885.     {
  886.         coords = vector3(-571.0001, 287.7852, 78.8405), offsetZ = -0.10, heading = 87.0158, radius = 0.5, distance = 1.7,
  887.         LeaveCoords = vector4(-571.6340, 287.9444, 77.1766, 86.7398)
  888.     },
  889.     {
  890.         coords = vector3(-571.1332, 286.7278, 78.8405), offsetZ = -0.10, heading = 89.5831, radius = 0.5, distance = 1.7,
  891.         LeaveCoords = vector4(-571.7358, 286.7826, 77.1766, 87.7581)
  892.     },
  893.     {
  894.         coords = vector3(-574.3527, 285.7974, 78.8405), offsetZ = -0.10, heading = 349.5747, radius = 0.5, distance = 1.7,
  895.         LeaveCoords = vector4(-574.2961, 286.4389, 77.1766, 348.0308)
  896.     },
  897.     {
  898.         coords = vector3(-575.4827, 285.9846, 78.8405), offsetZ = -0.10, heading = 347.2180, radius = 0.5, distance = 1.7,
  899.         LeaveCoords = vector4(-575.3638, 286.6183, 77.1766, 348.1133)
  900.     },
  901.     {
  902.         coords = vector3(-576.7103, 287.8856, 78.8405), offsetZ = -0.10, heading = 262.0253, radius = 0.5, distance = 1.7,
  903.         LeaveCoords = vector4(-576.0822, 288.0238, 77.1766, 263.9605)
  904.     },
  905.     {
  906.         coords = vector3(-576.5983, 289.1948, 78.8405), offsetZ = -0.10, heading = 261.3393, radius = 0.5, distance = 1.7,
  907.         LeaveCoords = vector4(-576.0297, 289.1856, 77.1766, 262.5699)
  908.     },
  909.  
  910. }
  911.  
Add Comment
Please, Sign In to add comment