Numpad

Preview

MSK.Numpad.Open

Opens an Numpad Window.

Parameters pin - string - The correct Pin showPin - boolean - Show Numbers or ****

Returns isCorrect - boolean - If the inserted pin is correct or not

Asynchronous

MSK.Numpad.Open('1234', true, function(isCorrect)
    print('Correct:', isCorrect)
end)

-- As an Export:
exports.msk_core:Numpad(pin, showPin, function(isCorrect)
    print('Correct:', isCorrect)
end

Synchronous

MSK.Numpad.Close

Closes the current Numpad Window.

MSK.Numpad.Active

Checks if the Numpad Window is active

Returns isActive - boolean - whether the Numpad Window is active

Last updated