[Release] esx_doorlock

Try this https://github.com/VenomXNL/ObjectNameFromHash

Howto add Unicorn doors…

I want to close the unicorn doors… I have add the code but not working…
Can someone send me the codes I need. I have installed now


	-- unicorn 
	{
		objName = 'prop_strip_door_01',
		objCoords  = Vector3(96.09197, -1284.854, 29.43878),
		textCoords = Vector3(96.09197, -1284.854, 29.43878),
		authorizedJobs = { 'unicorn' },
		locked = true,
		distance = 14,
		size = 2
	}

Is there any way to make some doors lock automatically when they are in closed position and when you block any door wait to be closed to lock?

How do I figure out the Yaw of a door, can’t seem to locate anything on this.

How can you see the location of the door?

With Codewalker

1 Like

Wondering if anyone might be able to shed some light. Im currently trying to lock most of the doors in the Nightclub. Ive got everything locking fine except "objName = ‘ba_prop_door_club_glam_generic’'.

The door lock shows up, can lock/unlock, however it doesnt actually do anything, and you can still walk through the door like normal. I used Codewalker map editor to find the entity name, but it just doesnt seem to want to lock.

1 Like

Does anyone have PillboxHospital keys like to lock them ?

you now can fix this bug?

1 Like

How to i edit the text colour and size

Does anyone know how to keep a door open? such as the yaw for closed doors, I am attempting to use this for the blaine county bank but I want to vault door to stay open after hack.

Can you add custom doors like from pd extendeds etc i cant \add the custom doors so its buggy need help? Frodo baggins
#8217

Did you find out a solution ? :slight_smile:

No matter what I do I cannot get added doors to lock. What cords should u use? I have been putting ones from standing in the middle

Use the same coordinate for the door. And just increase the Z coords for the text if you wanna change it.
Better way to get the door cords by standing on where the door was “freeze/standing still”.

example ^

1 Like

I try that and nothing seems to happen. What scripts are u using? Looks like u have 2?

the vMenu is just to see the object Hash as you see in the picture it also include a coords.

be sure your door name(from the hash) is correct also

Thank u I will give this a try later got some custom maps to make and add

great job thanks

Does anyone have a version of this Non ESX?