How it looks?
Btw. for all here is a stock for Icons.
PHP Code:
stock icon_status(index, status, const icon[], red, green, blue)
{
message_begin(MSG_ONE, iconstatus, {0,0,0}, index);
write_byte(status); // status (0=hide, 1=show, 2=flash)
write_string(icon); // sprite name
write_byte(red); // red
write_byte(green); // green
write_byte(blue); // blue
message_end();
}
How to use?
PHP Code:
icon_status(id, 2, "dmg_shock", 255, 255, 255)