-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathshared.lua
19 lines (16 loc) · 914 Bytes
/
shared.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Shared = Shared or {} -- Do not touch this
Shared.UseProgressBars = false -- Set to true to use progress bars
Shared.ItemUseToRepair = "repairkit" -- Set the item name to use for repairing vehicles
Shared.MustItemRemove = true -- Set to true to remove the item from the player's inventory
Shared.IsWhitelisted = false -- Set to true to enable job whitelisting
Shared.WhitelistedJobs = { -- Add the jobs that are allowed to use the repair kit (if IsWhitelisted is set to true)
"bennys",
"mechanic",
-- add more jobs here
}
-- Progress Bar Function
Shared.ProgressBar = function(time, txt)
if Shared.UseProgressBars then
exports['progressBars']:startUI(time, txt) -- you can change the progress bar script here
end
end