[Free] Ox Doorlock

I want to stay on mysql-asycn and i did everything correctly

Shit out of luck if you can’t work out your issue.

I will try to make it work.

Is there any other doorlock that you prefer?

beautiful script, getting sick of all the other door scripts

we have been using esx_doorlocks and doors_creator up untill now

doors_creator lastest version takes about 2.50 MS Server Side

anyone knows how much MS this script takes server side?

How change door icon color?


Maby who can help?

1 Like

start ox_target before starting ox_doorlock

1 Like

instead of using a passcode. can I just use E to lock/unlock the doors? if possible, how can I change to it.

So i can see you can edit the frameworks but i dont know how to do it without the grades i use vrp and i want to have a vrp framework for the doorlock file can somebody help or share if u have the vrp framework version of the doorlock?


I’m sorry I may have violated the principles of the script. But I want to use the lockpick item by pressing it in my bag. I don’t want to use ox_target. Please

i think you can do with the first export of this docs Functions - Ox Doorlock

I appreciate your comments. But which line should I start with? I need a sample

make an item that calls that export on the client side

Out of curiosity, how can I re-keybind the lock/unlock key. I don’t like using the horn to lock/unlock.

Somehow I am on the line…

Update ox scripts yesterday and got now this error:

[script:ox_doorlock] SCRIPT ERROR: @oxmysql/lib/MySQL.lua:31: First argument expected string, got ā€˜nil’.

I know what it means, but i have a board in front of my head right now

Make sure you post this in a 4th place, it’ll absolutely get you the results you want.
As already stated, ā€œyou’re clearing not using the repo as-isā€ - meaning you’re missing files included with the script.

1 Like

@Linden
I’ve just thrown everything down and reinstalled it, and now it works. I have no idea what the issue was… usually downloading the ā€œlatest versionā€, copy & paste isn’t a problem… maybe my clumsy fingers moved something ^^

By the way, excellent work!

1 Like

Would it be possible to have the Lock/Unlock Text separated from the padlock icon when hiding the UI ??? and the ability to move the text in the config from left or right on the screen??

this script works but i dont like that it uses ace perms, it doesnt read my pd and allow players with the job role police to unlock doors or items in inventory effect if it can be locked or unlocked