Skip to content

Conversation

someone005
Copy link

Hooks are useful for changing script behavior (like in ox_inventory), and I think adding them to ox_doorlock is a good idea. For example, developers might want to use ox_doorlock for their systems but also add new logic to check if a door can be opened. Hooks will make their job easier and improve their scripts because the only way to make it work without getting the "Unable to lock/unlock door" error is (for example) adding a target on the door that will trigger a server event which uses setDoorState export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant