summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r--src/cgame/cg_servercmds.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index 3af04eda..04c591cb 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -600,6 +600,16 @@ static void CG_ServerCommand( void )
return;
}
+ //enable G_Printfs from the server to appear in the TA console
+ if( !strcmp( cmd, "gprintf" ) )
+ {
+ if( trap_Argc( ) == 2 )
+ {
+ TAUIConsole( CG_Argv( 1 ) );
+ return;
+ }
+ }
+
CG_Printf( "Unknown client game command: %s\n", cmd );
}