Source/ThunderBeast/QuakeToon/server/sv_game.c
void PF_centerprintf (edict_t *ent, char *fmt, ...)
{
	char		msg[1024];
	va_list		argptr;
	int			n;
	
	n = NUM_FOR_EDICT(ent);
	if (n < 1 || n > maxclients->value)
		return;	// Com_Error (ERR_DROP, "centerprintf to a non-client");

	va_start (argptr,fmt);
	vsprintf (msg, fmt, argptr);
	va_end (argptr);

	MSG_WriteByte (&sv.multicast,svc_centerprint);
	MSG_WriteString (&sv.multicast,msg);
	PF_Unicast (ent, true);
}
/*
===============
PF_centerprintf

centerprint to a single client
===============
*/
PF_centerprintf
centerprint to a single client
PF_centerprintf centerprint to a single client
void PF_centerprintf (edict_t *ent, char *fmt, ...)
{
	char		msg[1024];
	va_list		argptr;
	int			n;
	n = NUM_FOR_EDICT(ent);
	if (n < 1 || n > maxclients->value)
		return;	
	va_start (argptr,fmt);
	vsprintf (msg, fmt, argptr);
	va_end (argptr);
	MSG_WriteByte (&sv.multicast,svc_centerprint);
	MSG_WriteString (&sv.multicast,msg);
	PF_Unicast (ent, true);
}
void PF_centerprintf ( edict_t * ent , char * fmt , ... ) { char msg [ 1024 ] ; va_list argptr ; int n ; n = NUM_FOR_EDICT ( ent ) ; if ( n < 1 || n > maxclients -> value ) return ; va_start ( argptr , fmt ) ; vsprintf ( msg , fmt , argptr ) ; va_end ( argptr ) ; MSG_WriteByte ( & sv . multicast , svc_centerprint ) ; MSG_WriteString ( & sv . multicast , msg ) ; PF_Unicast ( ent , true ) ; }
PF_centerprintf
centerprint to a single client
PF_centerprintf centerprint to a single client
// Com_Error (ERR_DROP, "centerprintf to a non-client");