-------------------------------
– NextGen Doorlocks –
-------------------------------
– //©_Scrubz#0001_© ^_^// –
– //NextGen Framework Public Release// –
Download:
via Github
– Features –
- Swing Checks
It will wait till the door is in the closed position before locking. To prevent this from bugging out, after 5 seconds it will auto lock the door. When doors are locked, the closed position is forced to prevent locked doors from being locked open. You can remove this if you want. - Auto-locking at Night
Doors with this feature enabled will auto-lock at night, and auto-unlock in the morning. - Lockpickable Doors
Doors with this feature enabled can be lockpicked by players. There is an export there to check if your near a door that can be lockpicked before you fire the lockpick event. - Auto-Relocking
Doors with this feature enabled will auto-lock after the set time when lockpicked open. Could be fun to use in many different ways!! - Door Support
This resource currently supports single doors, double doors, and double doors that are different models!! - Optimized Resource
Currently (on my pc) it runs about 0.02 - 0.03ms max when not drawing text and at a location that contains locked doors. It was running at 0.01ms when not drawing text, but I had to freeze all doors constantly when your in a location with locked doors due to being able to shoot open locked doors (I was previously only freezing the door when you were close to it). Feelsbadman.
– General Info–
-
As of posting this, all features in the drp version work without issues. But since I don’t use esx nor do I have any esx files to test on, ontop of being in the process of rewriting the drp core (shoutout to Darkzy for his work), I will be providing limited support for this resource. I will fix bugs/broken features, but if it doesn’t work out the box I will NOT help you get it working. If you fix/add anything, please submit a pull request!! <3
-
Make sure you actually read the readme and the configs. I have made notes on settings inside the doorlist.
– Current Bugs –
- For some reason the swing check doesn’t work with the side doors at pdm. Idk if it’s just those doors, all multimodel double doors, or if it’s my code (since I only tested those doors when I added the multimodel support). I’ll come back to it eventually… :shrug:
– Future Updates –
- I might eventually move the door configs serverside, and pass it to the client on join to prevent finding door locations from dumping.
– FAQ –
Idk why it’s broken, can you help me??
No.
The esx version no work!?!?
This may be due to the version of esx your running. I don’t use esx, nor do I have any files to test with therefor I will NOT help you get it working.
I found a bug!!
Please for the love of god submit a pull request!! Don’t just horde all the fixes to yourself.
I have a better way of doing -xxx-!!
Either make a pull request, or send me the code.
Could you add -xxx-??
Maybe. If you give headpats I might be inclinded to do so.