Re: [AHK] samp UdfEx (0.3.7)
simple color to hex for color embedding:
ColorToStr(color)
{
color += 0
color >>= 8
color &= 0xffffff
SetFormat, IntegerFast, hex
color += 0
color .= ""
StringTrimLeft, color, color, 2
SetFormat, IntegerFast, d
return "{" color "}"
}