#include #include new iconstatus; public plugin_init() { register_plugin("Status Icon","0.1","SAMURAI"); register_forward(FM_PlayerPreThink,"fw_prethink"); iconstatus = get_user_msgid("StatusIcon"); } public fw_prethink(id) { message_begin(MSG_ONE,iconstatus,{0,0,0},id); write_byte(1); // status (0=hide, 1=show, 2=flash) write_string("cross"); // sprite name write_byte(0); // red write_byte(255); // green write_byte(0); // blue message_end(); }