- Toggle between Using item or Alt button to open doors
- Lock breaking doors
- Possibility to use different item for each door
- Download this repo/codebase
- Extract and place
gum_doorlocks
into yourresources
folder - Extract and place `lockpick to your 'resources' folder
- Add
ensure gum_doorlocks
to yourserver.cfg
file - Add
ensure lockpick
to yourserver.cfg
file - Restart your server (unless you have nightly restarts)
If the Config.useitems is set to True : authorizedItem is responsible of locking/unlocking doors authorizedJobs will be neglected in the process
If the Config.useitems is set to False : Alt button is responsible of locking/unlocking doors (authorizedJob used for this)
Using Lockbreaker : You can use it whether the Config.useitems is set to True or False +You can choose if the door can be lockbreakable or not (canlockbreak)
- This is a modification to [bulgar_doorlocks_vorp] (Made by Bulgar)
- ensure this resource after its dependencies
- if you're adding a new key item you need to register it in the server side
- add the item in db
- exemples are provided in
/config.lua
and `/server/main.lua
Add items to your SQL
provision_jail_keys, consumable_lock_breaker, doctor_keys,
Good to go inside config change if you want to use items or use Left Alt to lock/unlock doors.