Doorlock 1.3
2.179
60
2.179
60
GTA V Single Player DoorLock Script
Description:
This script allows players to lock and unlock doors in GTA V's single-player mode, providing an added layer of security and control over various locations in the game. Whether it's your home, or any other door, you can now decide who comes in and who stays out.
Features:
Installation instructions:
Requirements:
Change log:
Description:
This script allows players to lock and unlock doors in GTA V's single-player mode, providing an added layer of security and control over various locations in the game. Whether it's your home, or any other door, you can now decide who comes in and who stays out.
Features:
Lock and unlock doors: Easily apply a lock to any door by walking up to it and pressing the specified key (E by default). Unlock the door in the same way when needed.
Persistent lock state: The script saves the state of locked doors, ensuring they remain locked or unlocked even after you leave the area or restart the game.
Multiple Door Support: Apply locks to multiple doors across the map, from houses to garages, and manage them all with ease.
Intuitive Menu: Access a simple game menu (F5 by default) to manage all your blocks, add new ones, or remove existing blocks.
Realistic interaction: The player character interacts with doors naturally, providing an immersive experience when you close or open them.
Installation instructions:
- Download the script and extract the .dll and .json file.
- Place the .dll and .json file in the scripts folder of the GTA V directory.
- Make sure you have Script Hook V .NET installed.
- Launch GTA V and take control of the gates of Los Santos!
Requirements:
Change log:
v1.0: Initial release with the ability to lock and unlock doors, persistent lock states, multiple door support, and a game management menu.
v1.1: Added custom animations and contextual messages for door interaction.
v1.2:- Improved door scanning, preventing unnecessary notifications when the player is far from any door.
- Introduced the ability to add custom doors via the AdditionalDoors.json file, expanding compatibility with modded and new doors.
- Enhanced lock/unlock animations for more immersive door interactions.
- Optimized lock persistence, ensuring all lock states remain intact even after reloading the game or leaving the area.
Removed AdditionalDoors.json: The script natively supports all door types, including MLO ports, so I decided to delete the AdditionalDoors.json file since it was of no use.
Added DoorLockSettings.ini: now you can change the menu opening key which is basically F5, with the key you prefer.
Added the Newtonsoft.Json.dll file since many people pointed out to me that without this file the script might not work, I decided to put it directly in the zip file together with the script files, so you don't have to search for it and download
Bug Fixes: Fixed issues with locked states not persisting properly after reloading the game or when interacting with multiple doors.
General improvements: Code optimization for smoother performance and a more streamlined user experience.
v1.3:
Created by modmode.
Keep your ports protected!
Primeiro envio: 04 de Setembro de 2024
Último envio: 12 de Setembro de 2024
Último download: há 40 minutos atrás
51 Comentários
More mods by modmode:
GTA V Single Player DoorLock Script
Description:
This script allows players to lock and unlock doors in GTA V's single-player mode, providing an added layer of security and control over various locations in the game. Whether it's your home, or any other door, you can now decide who comes in and who stays out.
Features:
Installation instructions:
Requirements:
Change log:
Description:
This script allows players to lock and unlock doors in GTA V's single-player mode, providing an added layer of security and control over various locations in the game. Whether it's your home, or any other door, you can now decide who comes in and who stays out.
Features:
Lock and unlock doors: Easily apply a lock to any door by walking up to it and pressing the specified key (E by default). Unlock the door in the same way when needed.
Persistent lock state: The script saves the state of locked doors, ensuring they remain locked or unlocked even after you leave the area or restart the game.
Multiple Door Support: Apply locks to multiple doors across the map, from houses to garages, and manage them all with ease.
Intuitive Menu: Access a simple game menu (F5 by default) to manage all your blocks, add new ones, or remove existing blocks.
Realistic interaction: The player character interacts with doors naturally, providing an immersive experience when you close or open them.
Installation instructions:
- Download the script and extract the .dll and .json file.
- Place the .dll and .json file in the scripts folder of the GTA V directory.
- Make sure you have Script Hook V .NET installed.
- Launch GTA V and take control of the gates of Los Santos!
Requirements:
Change log:
v1.0: Initial release with the ability to lock and unlock doors, persistent lock states, multiple door support, and a game management menu.
v1.1: Added custom animations and contextual messages for door interaction.
v1.2:- Improved door scanning, preventing unnecessary notifications when the player is far from any door.
- Introduced the ability to add custom doors via the AdditionalDoors.json file, expanding compatibility with modded and new doors.
- Enhanced lock/unlock animations for more immersive door interactions.
- Optimized lock persistence, ensuring all lock states remain intact even after reloading the game or leaving the area.
Removed AdditionalDoors.json: The script natively supports all door types, including MLO ports, so I decided to delete the AdditionalDoors.json file since it was of no use.
Added DoorLockSettings.ini: now you can change the menu opening key which is basically F5, with the key you prefer.
Added the Newtonsoft.Json.dll file since many people pointed out to me that without this file the script might not work, I decided to put it directly in the zip file together with the script files, so you don't have to search for it and download
Bug Fixes: Fixed issues with locked states not persisting properly after reloading the game or when interacting with multiple doors.
General improvements: Code optimization for smoother performance and a more streamlined user experience.
v1.3:
Created by modmode.
Keep your ports protected!
Primeiro envio: 04 de Setembro de 2024
Último envio: 12 de Setembro de 2024
Último download: há 40 minutos atrás
@modmode I just want to thank you for this amazing mod. It works great. I have zero complaints. It does what it says it will do. Only a few doors don't lock, but I don't care, I can lock most of them. I really like this mod. I've spawned doors at franklins new house from the menyoo spooner, and was able to lock the open entrances. When I commit crimes, the cops shouldn't be allowed to come into the home unhindered. This mod works perfect for that.
what im saying is the files in that bodyguard mod is the files you need for doorlock it worked for me and yes the newtonsoft.json files drag all those into script. watch and see it works
Unfortunately these files did not get this mod working for me.
@Monster90 Hi, I now understand what you meant and in theory you are right, I thank you and I apologize, however in the next version I will either put it in the requirements or I will put it directly in the zip file with all the other files.
@modmode do you think you could make it compatible with MLO doors?
Hi @jjj777. The latest version (1.2) already supports MLO ports.
📣 Hi everyone, just wanted to say that anyone who has any suggestions for this script whether it's additions or changes, feel free to let me know in the comments, thanks. 👋
Any Plan for Locking/Unlocking Garage Doors?
Hi @xportpnoy, yes, the latest version of the script (1.2) is also compatible with garage doors, but obviously to put a padlock on a garage door, you will have to lower the door because otherwise you won't be able to put the padlock on.
After installing the additional .json files this works like a charm, even on MLO doors! i know there is room for improvement, but i'm sure these files will be added to the next update.
@modmode Hello from Japan, very interesting! I wonder why no one has made this before. By the way, I'm sorry that this is not related to this mod, but how about making a bulletproof shield script that only swat peds can use? The reason is that this mod is no longer being updated. https://pt.gta5-mods.com/scripts/shield-mod
An .ini file to change both keys would be amazing. 🙏
📣 THIS AFTERNOON OR TONIGHT I WILL RELEASE VERSION 1.3 🟣
Hi @2017camarolike , thank you very much I appreciate it, however for now I don't think I'll create a script like this, mostly because it's not part of my plans, maybe later on but it could, never say never, thanks again for the support.💪
hi @User20192910291, the new version 1.3 is coming out which will have a new .ini file which for now allows you to change the button to open the menu, later it will certainly have more options to change.
Can you add a sound effect on locking and unlocking?
@modmode i add a lock to the MLO door, but it still is open when supposed to be locked.
@jjj777 Do not link to leak sites here.
@jjj777 maybe it is the mlo. I've spawned doors and have used the yacht doors at franklin's new house to block the open entrances and lock them to keep the pigs out after I commit some crimes. Never had an issue. Native doors seem to work with no issue.
@sinful_info Thanks man🙌🔥, I really appreciate it.