Ammunation Doors

is it possible to open this door?

in case what is the door file name in open iv and if someone already opened this door, can you write down below the code psl!

is it a map that open the door or is it a simply script? Thanks

2 Likes

Use this:
[RELEASE] v2: Fix holes in the map (up to After Hours) , this open all mayority sites in the map.
Also you can use esx_doorlock to open/close with faction that you want set.
Is easy implement any door find our code or hash, find on the forum hash door list to config the doors that you want.
Regards, Victor94

yes i already installed ths script

sorry i forgot to upload the image, i edit the post now take a look

Mmm seems you use vmenu,great, the hash of the door is this
v_ilev_cf_officedoor
Use this name and the coords aprox that you see in your screen a put this in config file esx_doorlock, you can see other examples there.

ok thanks a lot!! <3

You’re welcome :+1:

i have a problem with the hash of the door, i think that is incorrect

this is what i wrote in code

{
	textCoords = vector3(13.88, -1106.24, 30.8),
	authorizedJobs = { 'ammu' },
	locked = true,
	distance = 2,
	doors = {			
		{
			objName = 'v_ilev_cf_officedoor',
			objYaw = 0.0,
			objCoords = vector3(13.88, -1106.24, 29.8)
		}
	}
},

This code is to lock double doors, use this example and copy your data:

--
	{
		objName = 'v_ilev_gtdoor02',
		objYaw = 90.0,
		objCoords  = vector3(464.3, -984.6, 43.8),
		textCoords = vector3(464.3, -984.0, 44.8),
		authorizedJobs = { 'police' },
		locked = true,
distance=2
	},

If the door have wrong rotation pos, change this value objYaw = 90.0, to adapt the correct rotation of door

ok thanks

1 Like

come avete risolto? how did you solve it?