PeppSess

Config of fnx-garage

Jun 16th, 2022
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.50 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.Locale = 'en'
  4. Config.debug = true --debug print garage
  5. Config.RangeCheck = 25.0 -- this is the change you will be able to control the vehicle
  6. Config.PayInCash = true
  7. Config.Impound = true --Enable/Disable impound feature
  8.  
  9. Config.Marker = {
  10.     -- marker type
  11.     Garage = 6,
  12.     Impound = 6,
  13.  
  14.     -- marker size
  15.     TakeGarage = 1.0,
  16.     DepositGarage = 6.0,
  17.     TakeImpound = 1.0
  18. }
  19.  
  20. Config.InteractDistance = 0.5
  21. Config.BlipHeight = vector3(0.0, 0.0, - 0.985)
  22.  
  23. Config.price ={
  24.     impound = 750,
  25.     clean = 100,
  26.     repair = 100
  27. }
  28.  
  29. Config.ImpoundPrice = 750 --Price it will cost player to recover vehicle
  30. Config.DrawDistance = 8.0
  31. Config.AlignMenu = "top-left" -- this is where the menu is located [left, right, center, top-right, top-left etc.]
  32. Config.Webhook ={
  33.    
  34.     InlineFields = true,            -- set to false if you don't want the player details next to each other
  35.     link = "",
  36.     color = "#3AF241",
  37.     channel = "🧑‍🔧Impound🧑‍🔧",
  38.     username = "❤️Server❤️" ,                              -- Bot Username
  39.     avatar = "https://cdn.discordapp.com/attachments/664950754792177695/986677035390873610/unknown.png",            -- Bot Avatar  
  40.     communtiyName = "❤️Server❤️",                          -- Icon top of the embed
  41.     communtiyLogo = "https://cdn.discordapp.com/attachments/664950754792177695/986677035390873610/unknown.png", -- Icon top of the embed
  42.     FooterText = "2021 - 2022 © ❤️Server❤️"    ,              -- Footer text for the embed
  43.     FooterIcon = "https://cdn.discordapp.com/attachments/664950754792177695/986677035390873610/unknown.png"     -- Footer icon for the embed
  44. }
  45.  
  46. Config.Labels = {
  47.     ["menu"] = "Press ~INPUT_CONTEXT~ to open the garage",
  48.     ["impound"] = "Press ~INPUT_CONTEXT~ to open the impound",
  49.     ["vehicle"] = "Press ~INPUT_CONTEXT~ to deposit the vehicle"
  50. }
  51.  
  52. --Impounds
  53. Config.Pounds = {
  54.     ["1"] = {
  55.         ["positions"] = {
  56.             ["impound"] = {
  57.                 ["position"] =vector3(408.61, -1625.47, 29.29)
  58.             },
  59.             ["vehicle"] = {
  60.                 ["position"] = vector3(403.3451, -1629.481, 29.11133),
  61.                 ["heading"] =  192.7559
  62.             }
  63.         },
  64.         ["camera"] = {
  65.             ["x"] = 408.3451,
  66.             ["y"] = -1625.481,
  67.             ["z"] = 32.94,
  68.             ["rotationX"] = -21.401574149728,
  69.             ["rotationY"] = 0.0,
  70.             ["rotationZ"] = -215.40157422423
  71.         }
  72.     }
  73. }
  74.  
  75.  
  76. --Garages
  77. Config.Garages = {
  78.     ["1"] = {
  79.         ['showblip'] = true,
  80.         ["positions"] = {
  81.             ["menu"] = {
  82.                 ["position"] = vector3(-25.23, -1104.94, 26.72)
  83.             },
  84.             ["vehicle"] = {
  85.                 ["position"] = vector3(-17.49, -1108.54, 25.68),
  86.             }
  87.         },
  88.         ["camera"] = {
  89.             ["x"] = -10.69,
  90.             ["y"] = -1098.2,
  91.             ["z"] = 32.94,
  92.             ["rotationX"] = -21.401574149728,
  93.             ["rotationY"] = 0.0,
  94.             ["rotationZ"] = -213.40157422423
  95.         }
  96.     },
  97.     ["2"] = {
  98.         ['showblip'] = true,
  99.         ["positions"] = {
  100.             ["menu"] = {
  101.                 ["position"] = vector3(273.67422485352, -344.15573120117, 44.919834136963)
  102.             },
  103.             ["vehicle"] = {
  104.                 ["position"] = vector3(272.50082397461, -337.40579223633, 44.919834136963),
  105.                 ["heading"] = 160.0
  106.             }
  107.         },
  108.         ["camera"] = {
  109.             ["x"] = 283.28225708008,
  110.             ["y"] = -333.24017333984,
  111.             ["z"] = 50.004745483398,
  112.             ["rotationX"] = -21.637795701623,
  113.             ["rotationY"] = 0.0,
  114.             ["rotationZ"] = 125.73228356242
  115.         }
  116.     },
  117.     ["3"] = {
  118.         ['showblip'] = true,
  119.         ["positions"] = {
  120.             ["menu"] = {
  121.                 ["position"] = vector3(-1803.8967285156, -341.45928955078, 43.986347198486)
  122.             },
  123.             ["vehicle"] = {
  124.                 ["position"] = vector3(-1810.7857666016, -337.13592529297, 43.552074432373),
  125.                 ["heading"] = 320.0
  126.             }
  127.         },
  128.         ["camera"] = {
  129.             ["x"] = -1813.5513916016,
  130.             ["y"] = -340.40087890625,
  131.             ["z"] = 46.962894439697,
  132.             ["rotationX"] = -39.496062710881,
  133.             ["rotationY"] = 0.0,
  134.             ["rotationZ"] = -42.110235854983
  135.         }
  136.     },
  137.     ["4"] = {
  138.         ['showblip'] = true,
  139.         ["positions"] = {
  140.             ["menu"] = {
  141.                 ["position"] =vector3(213.8763, -808.4362, 31.0149)
  142.             },
  143.             ["vehicle"] = {
  144.                 ["position"] = vector3(210.179,-802.226,30.92),
  145.                 ["heading"] = 158.291
  146.             }
  147.         },
  148.         ["camera"] = {
  149.             ["x"] = 216.62684631348,
  150.             ["y"] = -800.26110839844,
  151.             ["z"] = 32.071655273438,
  152.             ["rotationX"] = -17.401334762573,
  153.             ["rotationY"] = -0.0,
  154.             ["rotationZ"] = 109.48434448242
  155.         }
  156.     },
  157.     ["5"] = {
  158.         ['showblip'] = true,
  159.         ["positions"] = {
  160.             ["menu"] = {
  161.                 ["position"] = vector3(-1523.189,-451.026,35.583)
  162.             },
  163.             ["vehicle"] = {
  164.                 ["position"] = vector3(-1521.057,-443.797,35.442),
  165.                 ["heading"] = 207.696
  166.             }
  167.         },
  168.         ["camera"] = {
  169.             ["x"] = -1527.0126953125,
  170.             ["y"] = -446.06896972656,
  171.             ["z"] = 38.168846130371,
  172.             ["rotationX"] = -28.662036895752,
  173.             ["rotationY"] = -0.0,
  174.             ["rotationZ"] = -81.01798248291
  175.         }
  176.     },
  177.     ["6"] = {
  178.         ['showblip'] = true,
  179.         ["positions"] = {
  180.             ["menu"] = {
  181.                 ["position"] = vector3(1689.45,3607.637,35.367)
  182.             },
  183.             ["vehicle"] = {
  184.                 ["position"] = vector3(1695.754,3603.175,35.552),
  185.                 ["heading"] = 218.677
  186.             }
  187.         },
  188.         ["camera"] = {
  189.             ["x"] = 1696.4822998047,
  190.             ["y"] = 3608.6247558594,
  191.             ["z"] = 36.577983856201,
  192.             ["rotationX"] = -15.798168182373,
  193.             ["rotationY"] = -2.2182236136814,
  194.             ["rotationZ"] = 166.94465637207
  195.         }
  196.     },
  197.     ["7"] = {
  198.         ['showblip'] = true,
  199.         ["positions"] = {
  200.             ["menu"] = {
  201.                 ["position"] = vector3(-3141.673,1121.629,20.707)
  202.             },
  203.             ["vehicle"] = {
  204.                 ["position"] = vector3(-3137.499,1113.196,20.689),
  205.                 ["heading"] = 263.507
  206.             }
  207.         },
  208.         ["camera"] = {
  209.             ["x"] = -3141.601,
  210.             ["y"] = 1113.296,
  211.             ["z"] = 23.143,
  212.             ["rotationX"] = -24.329,
  213.             ["rotationY"] = -0.0,
  214.             ["rotationZ"] = -96.984
  215.         }
  216.     },
  217.     ["8"] = {
  218.         ['showblip'] = true,
  219.         ["positions"] = {
  220.             ["menu"] = {
  221.                 ["position"] = vector3(-2982.496,330.105,14.783)
  222.             },
  223.             ["vehicle"] = {
  224.                 ["position"] = vector3(-2979.752,336.91,14.768),
  225.                 ["heading"] = 96.587
  226.             }
  227.         },
  228.         ["camera"] = {
  229.             ["x"] = -2976.076,
  230.             ["y"] = 341.56,
  231.             ["z"] = 16.024,
  232.             ["rotationX"] = -17.65,
  233.             ["rotationY"] = -0.0,
  234.             ["rotationZ"] = 131.173
  235.         }
  236.     },
  237.     ["9"] = {
  238.         ['showblip'] = true,
  239.         ["positions"] = {
  240.             ["menu"] = {
  241.                 ["position"] = vector3(457.729,-1971.635,22.977)
  242.             },
  243.             ["vehicle"] = {
  244.                 ["position"] = vector3(451.394,-1969.652,22.937),
  245.                 ["heading"] = 215.792
  246.             }
  247.         },
  248.         ["camera"] = {
  249.             ["x"] = 452.228,
  250.             ["y"] = -1962.556,
  251.             ["z"] = 24.749,
  252.             ["rotationX"] = -15.554,
  253.             ["rotationY"] = -0.0,
  254.             ["rotationZ"] = 178.236
  255.         }
  256.     },
  257.     ["10"] = {
  258.         ['showblip'] = true,
  259.         ["positions"] = {
  260.             ["menu"] = {
  261.                 ["position"] = vector3(-73.482,908.979,235.627)
  262.             },
  263.             ["vehicle"] = {
  264.                 ["position"] = vector3(-71.234,899.707,235.583),
  265.                 ["heading"] = 110.507
  266.             }
  267.         },
  268.         ["camera"] = {
  269.             ["x"] = -66.2,
  270.             ["y"] = 898.173,
  271.             ["z"] = 236.834,
  272.             ["rotationX"] = -17.946,
  273.             ["rotationY"] = -0.0,
  274.             ["rotationZ"] = 77.886
  275.         }
  276.     },
  277.     ["11"] = {
  278.         ['showblip'] = true,
  279.         ["positions"] = {
  280.             ["menu"] = {
  281.                 ["position"] = vector3(468.563,-1112.424,29.199)
  282.             },
  283.             ["vehicle"] = {
  284.                 ["position"] = vector3(464.048,-1107.866,29.2),
  285.                 ["heading"] = 175.307
  286.             }
  287.         },
  288.         ["camera"] = {
  289.             ["x"] = 469.994,
  290.             ["y"] = -1104.439,
  291.             ["z"] = 30.115,
  292.             ["rotationX"] = -14.614,
  293.             ["rotationY"] = 0.0,
  294.             ["rotationZ"] = 137.183
  295.         }
  296.     },
  297.     ["12"] = {
  298.         ['showblip'] = true,
  299.         ["positions"] = {
  300.             ["menu"] = {
  301.                 ["position"] = vector3(-67.422,-1827.847,26.943)
  302.             },
  303.             ["vehicle"] = {
  304.                 ["position"] = vector3(-61.921,-1833.446,26.797),
  305.                 ["heading"] = 283.718
  306.             }
  307.         },
  308.         ["camera"] = {
  309.             ["x"] = -66.731,
  310.             ["y"] = -1835.752,
  311.             ["z"] = 28.081,
  312.             ["rotationX"] = -16.981,
  313.             ["rotationY"] = -0.0,
  314.             ["rotationZ"] = -64.065
  315.         }
  316.     },
  317.     ["13"] = {
  318.         ['showblip'] = true,
  319.         ["positions"] = {
  320.             ["menu"] = {
  321.                 ["position"] = vector3(-1082.098,-1254.171,5.422)
  322.             },
  323.             ["vehicle"] = {
  324.                 ["position"] = vector3(-1073.781,-1253.466,5.607),
  325.                 ["heading"] = 218.965
  326.             }
  327.         },
  328.         ["camera"] = {
  329.             ["x"] = -1073.939,
  330.             ["y"] = -1246.378,
  331.             ["z"] = 6.582,
  332.             ["rotationX"] = -11.946,
  333.             ["rotationY"] = 0.0,
  334.             ["rotationZ"] = -175.243
  335.         }
  336.     },
  337.     ["14"] = {
  338.         ['showblip'] = true,
  339.         ["positions"] = {
  340.             ["menu"] = {
  341.                 ["position"] = vector3(-570.42,313.522,84.483)
  342.             },
  343.             ["vehicle"] = {
  344.                 ["position"] = vector3(-572.154,320.548,84.515),
  345.                 ["heading"] = 310.655
  346.             }
  347.         },
  348.         ["camera"] = {
  349.             ["x"] = -579.458,
  350.             ["y"] = 324.423,
  351.             ["z"] = 85.76,
  352.             ["rotationX"] = -12.263,
  353.             ["rotationY"] = -0.0,
  354.             ["rotationZ"] = -109.004
  355.         }
  356.     },
  357.     ["15"] = {
  358.         ['showblip'] = true,
  359.         ["positions"] = {
  360.             ["menu"] = {
  361.                 ["position"] = vector3(364.508,296.624,103.479)
  362.             },
  363.             ["vehicle"] = {
  364.                 ["position"] = vector3(368.711,292.688,103.37),
  365.                 ["heading"] = 353.943
  366.             }
  367.         },
  368.         ["camera"] = {
  369.             ["x"] = 373.588,
  370.             ["y"] = 287.878,
  371.             ["z"] = 104.288,
  372.             ["rotationX"] = -10.707,
  373.             ["rotationY"] = -0.0,
  374.             ["rotationZ"] = 36.596
  375.         }
  376.     },
  377.     ["16"] = {
  378.         ['showblip'] = true,
  379.         ["positions"] = {
  380.             ["menu"] = {
  381.                 ["position"] = vector3(1033.932,-767.112,57.998)
  382.             },
  383.             ["vehicle"] = {
  384.                 ["position"] = vector3(1040.677,-771.731,58.02),
  385.                 ["heading"] = 350.525
  386.             }
  387.         },
  388.         ["camera"] = {
  389.             ["x"] = 1044.944,
  390.             ["y"] = -775.915,
  391.             ["z"] = 59.355,
  392.             ["rotationX"] = -19.811,
  393.             ["rotationY"] = 0.0,
  394.             ["rotationZ"] = 35.126
  395.         }
  396.     },
  397.     ["17"] = {
  398.         ['showblip'] = true,
  399.         ["positions"] = {
  400.             ["menu"] = {
  401.                 ["position"] = vector3(74.096,6376.829,31.239)
  402.             },
  403.             ["vehicle"] = {
  404.                 ["position"] = vector3(84.315,6373.595,31.229),
  405.                 ["heading"] = 320.686
  406.             }
  407.         },
  408.         ["camera"] = {
  409.             ["x"] = 84.931,
  410.             ["y"] = 6367.949,
  411.             ["z"] = 32.387,
  412.             ["rotationX"] = -14.915,
  413.             ["rotationY"] = -0.0,
  414.             ["rotationZ"] = -1.191
  415.         }
  416.     },
  417.     ["18"] = {
  418.         ['showblip'] = true,
  419.         ["positions"] = {
  420.             ["menu"] = {
  421.                 ["position"] = vector3(-197.227,138.839,70.027)
  422.             },
  423.             ["vehicle"] = {
  424.                 ["position"] = vector3(-205.278,136.819,69.613),
  425.                 ["heading"] = 159.353
  426.             }
  427.         },
  428.         ["camera"] = {
  429.             ["x"] = -197.775,
  430.             ["y"] = 132.876,
  431.             ["z"] = 70.872,
  432.             ["rotationX"] = -11.069,
  433.             ["rotationY"] = -0.0,
  434.             ["rotationZ"] = 66.627
  435.         }
  436.     },
  437.     ["19"] = {
  438.         ['showblip'] = true,
  439.         ["positions"] = {
  440.             ["menu"] = {
  441.                 ["position"] = vector3(1853.453,2566.518,45.672)
  442.             },
  443.             ["vehicle"] = {
  444.                 ["position"] = vector3(1861.43,2569.134,45.672),
  445.                 ["heading"] = 337.919
  446.             }
  447.         },
  448.         ["camera"] = {
  449.             ["x"] = 1867.119,
  450.             ["y"] = 2565.705,
  451.             ["z"] = 46.719,
  452.             ["rotationX"] = -11.858,
  453.             ["rotationY"] = -0.0,
  454.             ["rotationZ"] = 47.235
  455.         },
  456.         ["jobs"] = {
  457.             "ambulance",
  458.             "police"
  459.         }
  460.     },
  461.     ["20"] = {
  462.         ['showblip'] = true,
  463.         ["positions"] = {
  464.             ["menu"] = {
  465.                 ["position"] = vector3(287.667,-614.891,43.434)
  466.             },
  467.             ["vehicle"] = {
  468.                 ["position"] = vector3(293.317,-608.39,43.344),
  469.                 ["heading"] = 74.472
  470.             }
  471.         },
  472.         ["camera"] = {
  473.             ["x"] = 288.232,
  474.             ["y"] = -600.287,
  475.             ["z"] = 44.623,
  476.             ["rotationX"] = -16.06,
  477.             ["rotationY"] = -0.0,
  478.             ["rotationZ"] = -155.408
  479.         },
  480.         ["jobs"] = {
  481.             "ambulance"
  482.         }
  483.     },
  484.     --SANDY
  485.     ["21"] = {
  486.         ['showblip'] = true,
  487.         ["positions"] = {
  488.             ["menu"] = {
  489.                 ["position"] = vector3(1733.94, 3711.99, 34.15)
  490.             },
  491.             ["vehicle"] = {
  492.                 ["position"] = vector3(1723.26, 3715.53, 33.76),
  493.                 ["heading"] = 21.41
  494.             }
  495.         },
  496.         ["camera"] = {
  497.             ["x"] = 1727.8,
  498.             ["y"] = 3725.44,
  499.             ["z"] = 38.51,
  500.             ["rotationX"] = 0.0,
  501.             ["rotationY"] = 0.0,
  502.             ["rotationZ"] = 162.0
  503.         }
  504.     },
  505.     --Paleto
  506.        
  507.     ["22"] = {
  508.         ['showblip'] = true,
  509.         ["positions"] = {
  510.             ["menu"] = {
  511.                 ["position"] = vector3(52.56, 6487.27, 31.43)
  512.             },
  513.             ["vehicle"] = {
  514.                 ["position"] = vector3(60.03, 6481.01, 31.01),
  515.                 ["heading"] = 223.28
  516.             }
  517.         },
  518.         ["camera"] = {
  519.             ["x"] = 67.84,
  520.             ["y"] = 6477.62,
  521.             ["z"] = 35.31,
  522.             ["rotationX"] = -20.0,
  523.             ["rotationY"] = 0.0,
  524.             ["rotationZ"] = 60.0
  525.         }
  526.     },
  527.     ["23"] = {
  528.         ['showblip'] = true,
  529.         ["positions"] = {
  530.             ["menu"] = {
  531.                 ["position"] = vector3(2567.93, 4652.38, 34.08)
  532.             },
  533.             ["vehicle"] = {
  534.                 ["position"] = vector3(2553.09, 4675.0, 33.52),
  535.                 ["heading"] = 10.28
  536.             }
  537.         },
  538.         ["camera"] = {
  539.             ["x"] = 2558.72,
  540.             ["y"] = 4680.29,
  541.             ["z"] = 33.69,
  542.             ["rotationX"] = 10.0,
  543.             ["rotationY"] = 0.0,
  544.             ["rotationZ"] = -220.0
  545.            }
  546.     },
  547.     ["24"] = {
  548.         ['showblip'] = true,
  549.         ["positions"] = {
  550.             ["menu"] = {
  551.                 ["position"] = vector3(844.49, -2118.27, 30.53)
  552.             },
  553.             ["vehicle"] = {
  554.                 ["position"] = vector3(830.72, -2122.85, 28.35),
  555.                 ["heading"] = 29.34
  556.             }
  557.         },
  558.         ["camera"] = {
  559.             ["x"] = 812.0,
  560.             ["y"] = -2119.5,
  561.             ["z"] = 34.25,
  562.             ["rotationX"] = 1.0,
  563.             ["rotationY"] = 0.0,
  564.             ["rotationZ"] = -100.0
  565.            }
  566.     },
  567.     ["25"] = {
  568.         ['showblip'] = true,
  569.         ["positions"] = {
  570.             ["menu"] = {
  571.                 ["position"] = vector3(-193.25, -1291.31, 31.3)
  572.             },
  573.             ["vehicle"] = {
  574.                 ["position"] = vector3(-184.18, -1293.33, 30.3),
  575.                 ["heading"] = 179.00
  576.             }
  577.         },
  578.         ["camera"] = {
  579.             ["x"] = -180.42,
  580.             ["y"] = -1307.42,
  581.             ["z"] = 38.25,
  582.             ["rotationX"] = -40.0,
  583.             ["rotationY"] = 0.0,
  584.             ["rotationZ"] = 10.0
  585.            }
  586.     }
  587. }
  588.  
  589. Config.Trim = function(value)
  590.     if value then
  591.         return (string.gsub(value, "^%s*(.-)%s*$", "%1"))
  592.     else
  593.         return nil
  594.     end
  595. end
Advertisement
Add Comment
Please, Sign In to add comment