@Bloodman: Biohazard already had this ....Look for it..
@Zombie Lurker:
I don't know ..but if
PHP Code:
write_byte(2); // status (0=hide, 1=show, 2=flash)
write_string("dmg_bio"); // sprite name
write_byte(255); // red
write_byte(255); // green
write_byte(0); // blue
It will flash red and yellow.
BTW, I recommend you to make the "icon" thing as a stock...That'll clean up the code a bit..
PHP Code:
stock set_user_icon(id , mode , red , green , blue)
{
message_begin(MSG_ONE,iconstatus,{0,0,0},id);
write_byte(mode); // status (0=hide, 1=show, 2=flash)
write_string("dmg_bio"); // sprite name
write_byte(red); // red
write_byte(green); // green
write_byte(blue); // blue
message_end();