[Release] [ESX] Door Locking w Swing Check

False, but ok

Would you like to make a PR to the github and I’ll publish those on the main?

Hi, nice release. It’s a nice and good working script but there is one problem. If you have two doors only one door unlocked. So is it possible to fix it?

Uhhhhhh yes if i get into my github account :rofl:

Yes, you can have it fetch the 2 doors instead of it fetching only one at a time.

How or can you fix it? I think more users wants this.

anyway to get the backgate locked? have all the coords right and the right object name

Yes, just put obj coords and text coords

i have done that but the gate still does not lock, object name is correct and all object and text coords are correct

UPDATE

Fixed logging in off-duty and cannot open doors

Added dependency of es_extended to __resource.lua

Grab the recent commit from the Github

Can you add more doors like 2 entrance doors? and more.Because its hard and i think it’d be more impressive if you do it.

how i can add more doors to the list is there any way?

It’s very simple to add. Use a program like code walker to find the hashes for the doors

Copy my example and replace the door hashes

tried for like 1 hours and didnt make it.Like i said, it’d be cool

witch one ?

That’s on you to find the door hashes man. I provided everything else.

The example provided in the Config.lua

well, tried… I think im not smart enough

This is awesome! Very well done. I wish there was something like this for vRP as well.