memoryrecord.value is a string, while cepanel.color is a number. Convert the number to a string using whatever format is appropriate. Assuming the value type is 4-byte 0x00BBGGRR, this should work regardless if the memory record is using hex/decimal or signed/unsigned:
Code:
memrec.Value = ('0x%08X'):format(color)
_________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum