-
- //drawcolorcodedstring(v1 + '5 5 0', "^1Server notices:", '32 32 0', 1, DRAWFLAG_NORMAL);
- while(_notes)
- {
-
- _notice = sprintf(_("^7%s (^3%d sec left)"), _notes.netname , rint(_notes.alpha - time));
- OUT(_notice, 16);
-
- if(_notes.skin)
- m = true;
-
- if(_notes.alpha <= time)
- {
- _notes.think = SUB_Remove;
- _notes.nextthink = time;
- }
-
- _notes = _notes.chain;
- }
-
+ LL_EACH(cl_notices, it.alpha > time, {
+ string s = sprintf(_("^7%s (^3%d sec left)"), it.netname , rint(it.alpha - time));
+ OUT(s, 16);
+ });