- vector rgb = '1 1 0';
- drawcolorcodedstring2_builtin(screen_pos, this.message, size * '1 1 0', rgb, alpha_, DRAWFLAG_NORMAL);
+ int n = tokenizebyseparator(this.message, "\n");
+ for(int k = 0; k < n; ++k)
+ {
+ msg = argv(k);
+ msg_pos = screen_pos + k * 1.25 * size * eY;
+ if (align > 0)
+ msg_pos.x -= stringwidth(msg, true, size * '1 1 0') * min(1, align);
+
+ drawcolorcodedstring_builtin(msg_pos, msg, size * '1 1 0', alpha_, DRAWFLAG_NORMAL);
+ }