Icon by flaticon.com
YOUTUBE WALKTHROUGH VIDEO
What is this resource?
When creating this resource, the priority was to be as user-friendly as possible for new and experienced developers while still having all the advanced features a modern door lock system would need. This resource was designed for Gabz Maps, meaning door locks for every interior come pre-configured allowing you to choose which ones are activated with a single click. Although this resource does not require any Gabz maps as it will work on any doors, it just comes pre-configured for them.
Screen 1 - Creating Doors
How to create new doors?
Creating new doors is done through the in-game UI. Only those with admin permissions can create new doors. It uses a combination of our custom target system and configuration through the UI.
There are many optional settings you can configure when creating new doors such as:
-
Door Name: Name of the door to keep things organised.
-
Location Group: Location groups are what each door in a map is linked to (eg., every door in MRPD would be included in this location group). This makes it easier to keep things organised and allows you to delete every door in a map.
-
Door Access Permissions: You can choose from multiple methods of setting permissions for a door:
- Jobs
- Gangs
- FiveM Identifiers
- Framework Identifiers
- Ace Perms
- Discord Roles
- Passcode
- Inventory Items
-
Auto Lock: You can choose to auto lock a door after x amount of seconds.
-
Sound: You can choose from multiple pre-configured sounds or add more sounds. (you can preview each sound from the UI and the sound can be disabled).
-
Locked: Do you want this door to be locked by default?
-
Lockpick: Do you want to allow civilians to be able to attempt to lockpick this door? (you use your own minigame for the lockpick).
-
Secret: Do you want this door to have the lock icon/draw text UI visible or hidden?
-
Camera: Do you want to activate this doors door camera?
-
Passcode: Do you want this door to have a passcode?
-
Distance: The distance you can interact with this door.
Copy/Paste: You also have the option to use the copy/paste door setting buttons to help with creating/editing a large number of doors.
Screen 1 - Editing Doors
How to edit doors?
Editing doors is done through the in-game UI. Only those with admin perms can edit doors. The changes take effect immediately. There are 2 ways to choose which door to edit.
Option 1 - Choose a door to edit using the search bar on the UI.
Option 2 - Choose a door to edit using our target system.
Screen 2 - Door Control
- Search: You can either view all doors or search for specific doors or location groups.
- Remote Lock/Unlock: Players can remotely lock/unlock doors via the UI.
- Door Camera: If a door has a door camera enabled, you can remotely view this camera. While in this camera you can use the mouse to move the camera around, zoom in and reverse the camera to view the other side of the door. It also displays the door name and the location group name.
- Visit: If you have admin permissions; clicking this button will teleport you to this door. Otherwise, it will set a waypoint to this door.
- Deleting Single Door: Deleting doors is done through the in-game UI. Only those with pre-defined admin perms can edit doors. You can easily delete door locks for individual doors.
- Mass Delete Doors: You can also delete a whole map’s door locks with a single click and the changes take effect immediately. (eg., the 100+ doors for bolingbroke prison can be deleted instantly with a single click).
Note: The option to delete doors is only visible to admins.
Screen 3 - Importing Doors for Gabz Maps
This script is made as simple to use as possible; therefore, all doors for every Gabz Map come pre-configured. You can choose which map you want to import the door lock files for, and the script will set them up automatically. You can have 500+ doors fully configured with just a few clicks. Ensure you enter the door permissions to set the default permissions for the doors.
Screen 4 - Settings
The size of the UI can be changed here.
Other Features
-
Door Passcodes: You can set passcodes for doors which allow any player to access regardless of the job.
-
Discord Webhooks: Webhooks can be configured to send a message in your discord when an admin creates/edits/deletes a door.
-
Custom Target: We have included our built-in optimized target system to reduce dependencies on other resources.
-
Built-in DrawTextUI: We have included our custom built-in drawtextUI which changes colours based on the door lock state.
-
Standalone: This can be completely standalone and does not require any framework.
-
Optimized: When not in use the client-side resmon runs at 0.01. When close to a door it runs at 0.04.
-
Share Import Files: You can create and share import files for any MLO to friends/other servers for them to install door locks on their server with a single click, more info in this link.
-
Dynamic Door Perms Editing: You can trigger an event from external scripts to set new door perms for a door. An example for this feature: you can easily set new door perms properties or for MLO motels.
-
Door Access Permissions: You can choose from multiple methods of setting permissions for a door:
- Jobs
- Gangs
- FiveM Identifiers
- Framework Identifiers
- Ace Perms
- Discord Roles
- Passcode
- Inventory Items
Documentation Website
We recommend that anyone interested in this resource checks out our Documentation Website. This documentation includes the following:
- Step-by-step installation guide
- Common issues & solutions
- Code snippets
- Error codes
- Full preview of the Configs, Locales/Translations & SQL
- Troubleshooting guide
Dependencies and Compatibility
Framework Dependencies
- This resource can be completely standalone. No frameworks are required!
- Auto Detect Framework: This feature automatically identifies your framework and applies the appropriate default settings.
Framework | Compatibility | Notes |
---|---|---|
ESX | ![]() |
Supports esx 1.1, 1.2, 1.final, extendedmode and all legacy versions. |
QBCore | ![]() |
Supports the official QBCore only. |
vRP | ![]() |
|
Standalone | ![]() |
Supports FiveM Identifiers, Ace Perms and Discord Roles. |
Other (custom framework) | ![]() |
Admin and job checks will need replacing. |
SQL Resource Dependencies
This resource does not use the database.
Resource Dependencies
This resource has no resource dependencies.
Locales/Translations
Locale Type | Translatable |
---|---|
UI | ![]() |
Notifications | ![]() |
OneSync Compatibility
State | Compatibility |
---|---|
Infinity | ![]() |
Legacy | ![]() |
Disabled | ![]() |
Code is accessible | No (however majority is accessible) |
Subscription-based | No |
Lines (approximately) | 5500+ (not including locales & libraries) |
Requirements | None |
Support | Yes |
Buy Here - €20
Check out our Tebex store at https://codesign.pro
Check out our other paid scripts:
Expand
[PAID] Codesign Arm Wrestling
[PAID] Codesign Highly customisable Car HUD
[PAID] Codesign Police Dispatch
[PAID] Codesign Darts
[PAID] Codesign VIP Shop
[PAID] Codesign Door Lock
[PAID] Codesign Vehicle Garage
[PAID] Codesign Identity
[PAID] Codesign Multicharacter
[PAID] Codesign Player HUD - Smartwatch
[PAID] Codesign Prop placer
[PAID] Codesign Police ALPR Radar
[PAID] Codesign Spawn selector
[PAID] Codesign Terminal Hacker - Minigame
[PAID] Codesign Vehicle Control
Check out our free scripts:
Expand
[FREE RELEASE] Easytime - Time and weather management by Codesign
[FREE RELEASE] Devtools - LUA / JSON Table viewer by Codesign
[FREE RELEASE] Draw text UI
[FREE RELEASE] Keymaster minigame by Codesign