mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-01 17:32:54 +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);
|
strcat(text, p);
|
||||||
|
|
||||||
|
Com_Printf("%s\n", text);
|
||||||
SV_SendServerCommand(NULL, "chat \"%s\"", text);
|
SV_SendServerCommand(NULL, "chat \"%s\"", text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1299,6 +1300,7 @@ static void SV_ConTell_f(void) {
|
||||||
|
|
||||||
strcat(text, p);
|
strcat(text, p);
|
||||||
|
|
||||||
|
Com_Printf("%s\n", text);
|
||||||
SV_SendServerCommand(cl, "chat \"%s\"", text);
|
SV_SendServerCommand(cl, "chat \"%s\"", text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1364,6 +1366,7 @@ static void SV_ConSayto_f(void) {
|
||||||
|
|
||||||
strcat(text, p);
|
strcat(text, p);
|
||||||
|
|
||||||
|
Com_Printf("%s\n", text);
|
||||||
SV_SendServerCommand(saytocl, "chat \"%s\"", text);
|
SV_SendServerCommand(saytocl, "chat \"%s\"", text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue