Programmatically set OBJPROP_COLOR

 

// Instead of using a static color literal

ObjectSetInteger(0,name_,OBJPROP_COLOR,C'128,128,128');


// I would like to set the color value programmatically like this

ObjectSetInteger(0,name_,OBJPROP_COLOR,"128,128,128");

Is this possible? I see nothing in the OBJPROP_COLOR documentation that hints at being able to do something like this.

 
nightvision04:

Is this possible? I see nothing in the OBJPROP_COLOR documentation that hints at being able to do something like this.

Why?

What's the problem with using the first one?