viewing paste Unknown #19519 | C

Posted on the
1 2 3 4 5 6 7 8 9
BUILDIN(color2hex) {
    int color = script_getnum(st, 2);
    char *colorstring;
 
    sprintf(colorstring, "%06X", color);
 
    script_pushstrcopy(st, colorstring);
    return true;
}
Viewed 645 times, submitted by Guest.