-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
907 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# ultra-keypackhack | ||
Keypad hack is the recreated heist minigame from Casino DLC. Player has to remember the generated pattern and create the same pattern again within the given time limit. | ||
|
||
### Usage example: | ||
Following is a client side code: | ||
``` | ||
RegisterCommand('starthack', function() | ||
TriggerEvent('ultra-keypadhack', 6, 40, function(outcome, reason) | ||
if outcome == 0 then | ||
print('Hack failed', reason) | ||
elseif outcome == 1 then | ||
print('Hack successful') | ||
elseif outcome == 2 then | ||
print('Timed out') | ||
elseif outcome == -1 then | ||
print('Error occured',reason) | ||
end | ||
end) | ||
end) | ||
``` |
Oops, something went wrong.