Keycard Swipe

Swipe a digital keycard to gain secure entry.

-- Key Card Swipe Lock
RegisterCommand('testkeycard', function()
    exports['moon-ui']:OpenKeycardLock('keycard', function(success) -- Suports Ox_inv qb_inv and Qs_inv
        if success then
            print('Keycard found and swipe accepted!')
            -- Add your logic here for successful swipe
        else
            print('No keycard found or swipe denied!')
            -- Add your logic here for failed swipe
        end
    end)    
end)

Last updated