mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 12:01:41 +00:00
Echo server say/tell/sayto message to console
This commit is contained in:
parent
356ae10ef6
commit
fa034c17ec
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue