-
Notifications
You must be signed in to change notification settings - Fork 0
HexPad
StackZ edited this page Jun 17, 2021
·
1 revision
UniversalEdit.HexPad(Message, CurrentVal, Min, Max, LengthOfInput);
This function expects 5 parameters.
- Message: The message to display.
- CurrentVal: The current value, which would be returned if the user cancels.
- Min: The min value to input.
- Max: The max value to input.
- LengthOfInput: The amount of characters to input. NOTE: You also need to add the
0x
into that amount.
-- The line below will let you enter a value between 0x0 up to 0xFF, it returns 0x80 if the user cancels.
local Value = UniversalEdit.HexPad("Enter a value.", 0x80, 0x0, 0xFF, 4);