ed
This commit is contained in:
parent
71d3cde454
commit
e9eae8307c
7 changed files with 0 additions and 0 deletions
33
resources/[carscripts]/lockpick/README.md
Normal file
33
resources/[carscripts]/lockpick/README.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# 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.
|
Loading…
Add table
Add a link
Reference in a new issue