[Release] [Discontinued] [ESX] Boost's Lock system with metadata

  • Search only owned vehicles (you can enable this in config)
  • Clean UI made with tailwind
  • Easy to use
  • Multiple languages (Lithuanian, English, French, German)
  • Low usage (from 0.01ms to max 0.02ms)

  • ESX Legacy
  • ox_inventory
  • oxmysql
  • rprogress (If you don’t want to use it you can disable it in config or change the export to yours progress bar)
  • Bulletin notification (You can change notifications in the config)

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

['car_keys'] = {
		label = 'Car keys',
		weight = 200,
		stack = true,
		close = true,
		client = {
			event = 'Boost-Locksystem:LockUnlock'
		}
	},

Get it here !

12 Likes

Not bad Not bad! Good job man!

1 Like

Good job! :slight_smile:

2 Likes

Good job. Can you give people access to lock/unlock your vehicle? Or is it only the owner who can lock/unlock?

1 Like

You just give the key to your friend ! You can also make a copy of your key.

TriggerServerEvent('Boost-Locksystem:CreateKeyCopy', plate)

This trigger can only be used by mechanics.

1 Like

That’s really nice good job

1 Like

I will add a chance of not finding the keys so is more realistic.

Was thinking of that probably going to update

very cool

1 Like

Hey thanks for this, how could we change the defeeb UI from center to bottom right for example?

You can’t really do that other than making a css file because tailwind file was compiled and there is no function to change from middle

I see, thanks for the response :smiley:

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

Scratch that, is there an event to remove a key from someone once they return a job vehicle or test drive vehicle?

need to add some hotwiring to it.

Will add some kind of trigger for this

1 Like

Update

  • Added a trigger for removing the key
TriggerServerEvent('Boost-Locksystem:RemoveKey', plate)
  • Fixed some unused code and what else
1 Like

Update

  • Performance boost now usage is from 0.01ms to max 0.02ms in some cases
  • Removed player loop from server-side, now searched vehicles are stored in json
1 Like


Any fix?