[Release][ESX] xd_doorlock | Door Lock System

This script is completely Free.

Welcome everybody for my xd_doorlock release so this release is for people who need a nice door lock system and without any big performance taking, this resource taking less than 0.02ms because it’s using GTA V door lock system so I hope you enjoy this release!


  • Locking/Unlocking Doors
  • Jobs Allowlist
  • Everything Sync with the server
  • Using GTA V built in System
  • Less than 0.02ms


  • es_extended
  • Any Notify System - make sure to change to your notify in config if you have custom notify

Adding Doors

Config.Doors = {
		Doors = {										-- Doors section | if you have more than one door to lock add it here
				Model = 'v_ilev_ph_gendoor004',			-- Door model can be the model name or model hash = 'v_ilev_ph_gendoor004' or 1557126584
				Coords = vector3(449.6, -986.4, 30.6)	-- Door Coords | you can use the script pun_idgun to check door model and coords see https://github.com/Puntherline/pun_idgun
		Locked = true,									-- The door should be locked when script starts?
		Distance = 2,									-- Distance between player and doors to open them should be more than 0

		Jobs = 'police'
		-- Jobs Section
		-- -------------
		-- if false then everyone can toggle the door.
		-- if true then no one can toggle the door.
		-- if specific job then only the job can toggle the door.
		-- you can specify more than one job for example: Jobs = {'police', 'ambulance', 'mechanic'}

Just copy this example and you can delete the commented lines and replace details with your door details.
to get any door model and coords you can use
ID Gun - Find out object coords, headings and hashes - FiveM Resource Development & Modding / Releases - Cfx.re Community

Lockpick doors will be in future updates

For any help type in the comments your issue or open issue in github where the download link is
recommended to open issue in github :slight_smile:


Click Here to Preview!


Click Here to Download!

My Scripts


Good release!

1 Like

the link is broken


1 Like

Try Clicking Here
LielXD/xd_doorlock: Doorlock System for Fivem using ESX (github.com)
if it’s still doesn’t work click Ctrl + F5 to the page its should work

This is a script for locking and unlocking cars with keys, and doors.

Sorry guys it was on private :sweat_smile:
My mistake now you can download it!


does this mod support key system instead of a job? so i can lock doors/fence’s for MLO houses what ppl can own.

at this moment no,
maybe in the future

Alright, i’ll keep an eye out for this mod.

1 Like