Skip to content

Commit

Permalink
feat: docs\bpt_doorlock\client\function.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Oct 10, 2023
1 parent 3f36286 commit 3c16ddb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/bpt_doorlock/client/function.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Function

## pickClosestDoor

Attempt to pick the lock of the closest door. Dependant on server-side checks and may fail.

```lua
exports.bpt_doorlock:pickClosestDoor()
```

## useClosestDoor

Interact with the closest door. Dependant on server-side checks and may fail.

```lua
exports.bpt_doorlock:useClosestDoor()
```

0 comments on commit 3c16ddb

Please sign in to comment.