Echo server say/tell/sayto message to console
This commit is contained in:
1 parent
356ae10ef6
commit
fa034c17ec
1 file changed
+3
@@ -1260,6 +1260,7 @@ static void SV_ConSay_f(void) {
|
||||
|
||||
strcat(text, p);
|
||||
|
||||
Com_Printf("%s\n", text);
|
||||
SV_SendServerCommand(NULL, "chat \"%s\"", text);
|
||||
}
|
||||
|
||||
@@ -1299,6 +1300,7 @@ static void SV_ConTell_f(void) {
|
||||
|
||||
strcat(text, p);
|
||||
|
||||
Com_Printf("%s\n", text);
|
||||
SV_SendServerCommand(cl, "chat \"%s\"", text);
|
||||
}
|
||||
|
||||
@@ -1364,6 +1366,7 @@ static void SV_ConSayto_f(void) {
|
||||
|
||||
strcat(text, p);
|
||||
|
||||
Com_Printf("%s\n", text);
|
||||
SV_SendServerCommand(saytocl, "chat \"%s\"", text);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user