Config = {}
Config.OnlyRegisteredCars = false -- If true only cars in owned_vehicles table could be searched for key
Config.UseProgressBar = true
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
Usage
Add this to your ox_inventory/data/items.lua
Hey something else that came in my attention, the script makes it so when you spawn a car, or you test drive it, it’s frozen there with its engine off and you can’t do anything to make it start