PIN

Enter a personal numeric PIN to continue.

-- PIN Lock
RegisterCommand('testpin', function()
    local correctPin = "123456" -- 6-digit PIN code
    exports['moon-ui']:OpenPinLock(correctPin, function(success)
        if success then
            print('PIN correct! Access granted.')
            -- Add your logic here for successful PIN entry
        else
            print('PIN incorrect! Access denied.')
            -- Add your logic here for failed PIN entry
        end
    end)
end)

Last updated