PHP Code:
new rgb_colors[3]
new string_with_colors[20]="255 205 100"
new temp[3][25]
parse(string_with_colors, charsmax(string_with_colors), temp[0], 24, temp[1], 24, temp[2], 24)/*should be charsmax everywhere, but i lack in time.*/
rbg_colors[0] = str_to_num(temp[0])
rbg_colors[1] = str_to_num(temp[1])
rbg_colors[2] = str_to_num(temp[2])
entity_set_int(ent,EV_INT_iuser1,rgb_colors[0])
entity_set_int(ent,EV_INT_iuser2,rgb_colors[1])
entity_set_int(ent,EV_INT_iuser3,rgb_colors[2])
set_rendering(ent,kRenderFxGlowShell,entity_get_int(ent,EV_INT_iuser1),entity_get_int(ent,EV_INT_iuser2),entity_get_int(ent,EV_INT_iuser3),kRenderNormal,60)
}
but i didn`t quite understand why you used entity_set_int.
__________________