forked from Simnation/Main
34 lines
929 B
Markdown
34 lines
929 B
Markdown
![]() |
# Lockpick UI Minigame
|
||
|
|
||
|

|
||
|
|
||
|
An easy lockpick export for FiveM.
|
||
|
I know this was in a lot of leaked resource and has been made similarly.
|
||
|
But this one I edited it myself from the codepen mentioned below.
|
||
|
Credits to [antoxa-kms](https://codepen.io/antoxa-kms/).
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
1. Download the resource.
|
||
|
2. Drag and drop to resources folder.
|
||
|
3. Ensure or start the resource in server.cfg and you are done.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Use `startLockpick` export to start lockpicking.
|
||
|
|
||
|
```lua
|
||
|
RegisterCommand('lockpicktry', function()
|
||
|
local result = exports['lockpick']:startLockpick()
|
||
|
print(result, 'lockpicking result')
|
||
|
end)
|
||
|
```
|
||
|
|
||
|
## Contribution
|
||
|
|
||
|
Suggestions and pull request are welcome!
|
||
|
|
||
|
## Acknowledgements
|
||
|
|
||
|
I do not take any credits from the UI code, credits to [antoxa-kms](https://codepen.io/antoxa-kms/pen/qbqoMy) codepen.
|