forked from boostless/Boost-Locksystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
22 lines (19 loc) · 705 Bytes
/
Copy pathconfig.lua
File metadata and controls
22 lines (19 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Config = {}
Config.OnlyRegisteredCars = true -- If true only cars in owned_vehicles table could be searched for key
Config.UseProgressBar = true
Config.LockStateLocked = 4 -- Add the lockstate you use for example 4 or 2
Config.Locale = 'en'
function Notification(type, text)
if type == 'success' then
exports.bulletin:SendSuccess(text, 3000, 'bottomleft', true)
elseif type == 'error' then
exports.bulletin:SendError(text, 3000, 'bottomleft', true)
elseif type == 'info' then
exports.bulletin:SendInfo(text, 3000, 'bottomleft', true)
end
end
function Progress(text,time)
if Config.UseProgressBar then
exports.rprogress:Start(text, 1500)
end
end