git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6392 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-29 15:51:10 +00:00
parent 0281461ddc
commit 0aecce709f
3 changed files with 23 additions and 1 deletions
+12
View File
@@ -270,7 +270,19 @@ void echo(char *text)
while(s);
}
void hudecho(char *text)
{
const char *s = strtok(text, "\n");
do
{
hudoutf("%s", s ? s : "");
s = strtok(NULL, "\n");
}
while(s);
}
COMMAND(echo, ARG_CONC);
COMMAND(hudecho, ARG_CONC);
COMMANDN(say, toserver, ARG_CONC);
COMMANDN(me, toserverme, ARG_CONC);
COMMANDN(connect, connectserv, ARG_3STR);