Metal Gate Blocking

All you have to do is go to the k4mb1-traphouse/client.lua file and remove or comment out the "k4_trapdoor" interior entity set. This will remove the metal gate entirely.

Before:

Citizen.CreateThread(function()
	
-- Trap House
	local interiorid = GetInteriorAtCoords(506.19900000, -1817.4100000, 29.13970000)
	
	ActivateInteriorEntitySet(interiorid, "k4_trapdoor") -- Explosion only
	-- ActivateInteriorEntitySet(interiorid, "k4_trapdoor2")  -- Normal door
	-- ActivateInteriorEntitySet(interiorid, "k4_trapsafe")  -- Safe prop

	RefreshInterior(interiorid)
	
end)

After:

Citizen.CreateThread(function()
	
-- Trap House
	local interiorid = GetInteriorAtCoords(506.19900000, -1817.4100000, 29.13970000)
	
	-- ActivateInteriorEntitySet(interiorid, "k4_trapdoor") -- Explosion only
	-- ActivateInteriorEntitySet(interiorid, "k4_trapdoor2")  -- Normal door
	-- ActivateInteriorEntitySet(interiorid, "k4_trapsafe")  -- Safe prop

	RefreshInterior(interiorid)
	
end)

Last updated