From 93d9c093f4ff092675e5557bc56aedd72187ae27 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Mon, 21 Feb 2011 23:11:08 +0000 Subject: * Show who received a private message and how to respond again --- src/cgame/cg_servercmds.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cgame') diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 949c3adc..2b02a4e3 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -972,8 +972,13 @@ static void CG_Say( int clientNum, saymode_t mode, const char *text ) ignore, prefix, name, cgs.clientinfo[ cg.clientNum ].name, maybeColon, INDENT_MARKER, color, text ); if( !ignore[0] ) + { CG_CenterPrint( va( "%sPrivate message from: " S_COLOR_WHITE "%s", color, name ), 200, GIANTCHAR_WIDTH * 4 ); + if( clientNum < 0 || clientNum >= MAX_CLIENTS ) + clientNum = cg.clientNum; + CG_Printf( ">> to reply, say: /m %d [your message] <<\n", clientNum ); + } break; case SAY_RAW: CG_Printf( "%s\n", text ); -- cgit