A player becomes "blind" by sending a ScreenFade message, which just fades their screen to white and back. By sending another ScreenFade message, it should overwrite the other one.
Code:
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id);
write_short(1); // duration, ~0 is max
write_short(1); // hold time, ~0 is max
write_short(1<<12); // flags, no idea wtf 1<<12 is
write_byte(0); // red
write_byte(0); // green
write_byte(0); // blue
write_byte(0); // alpha
message_end();
In this case, we only need to overwrite the old one, so our duration and hold time is 1.
It should be invisible anyway.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS