🪛
qb-lockpick
Locks were meant to be picked
- This is a JavaScript mini game that test players skills by rotating the lockpick to a certain angle and engaging the screwdriver which returns success or failure

This resource requires no configuration and has no dependencies
local function lockpickFinish(success) -- callback function
if success then print('Player succeeded') end
print('Player failed')
end
RegisterCommand("testlockpick", function()
TriggerEvent('qb-lockpick:client:openLockpick', lockpickFinish)
end)
Last modified 9mo ago