diff --git a/source/src/client.cpp b/source/src/client.cpp index 11611ed1..5ed546f6 100644 --- a/source/src/client.cpp +++ b/source/src/client.cpp @@ -270,12 +270,16 @@ void echo(char *text) while(s); } +VARP(allowhudechos, 0, 1, 1); void hudecho(char *text) { const char *s = strtok(text, "\n"); do { - hudoutf("%s", s ? s : ""); + if(allowhudechos) + hudoutf("%s", s ? s : ""); + else + conoutf("%s", s ? s : ""); s = strtok(NULL, "\n"); } while(s);