IntToHex
A command for Pluggy.
Syntax:
IntToHex StringID:long Value:long Digits:short Global:short
Converts Value into a hexadecimal string, filling the left side of the string with zeros if the string length is less than Digits.
- If Digits is not specified, it will default to 8.
- If you want to modify a string from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the string is protected the function will fail.