Source/ThunderBeast/QuakeToon/server/sv_game.c
void PF_cprintf (edict_t *ent, int level, char *fmt, ...)
{
	char		msg[1024];
	va_list		argptr;
	int			n;

	if (ent)
	{
		n = NUM_FOR_EDICT(ent);
		if (n < 1 || n > maxclients->value)
			Com_Error (ERR_DROP, "cprintf to a non-client");
	}

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

	if (ent)
		SV_ClientPrintf (svs.clients+(n-1), level, "%s", msg);
	else
		Com_Printf ("%s", msg);
}
/*
===============
PF_cprintf

Print to a single client
===============
*/
PF_cprintf
Print to a single client
PF_cprintf Print to a single client
void PF_cprintf (edict_t *ent, int level, char *fmt, ...)
{
	char		msg[1024];
	va_list		argptr;
	int			n;
	if (ent)
	{
		n = NUM_FOR_EDICT(ent);
		if (n < 1 || n > maxclients->value)
			Com_Error (ERR_DROP, "cprintf to a non-client");
	}
	va_start (argptr,fmt);
	vsprintf (msg, fmt, argptr);
	va_end (argptr);
	if (ent)
		SV_ClientPrintf (svs.clients+(n-1), level, "%s", msg);
	else
		Com_Printf ("%s", msg);
}
void PF_cprintf ( edict_t * ent , int level , char * fmt , ... ) { char msg [ 1024 ] ; va_list argptr ; int n ; if ( ent ) { n = NUM_FOR_EDICT ( ent ) ; if ( n < 1 || n > maxclients -> value ) Com_Error ( ERR_DROP , " " ) ; } va_start ( argptr , fmt ) ; vsprintf ( msg , fmt , argptr ) ; va_end ( argptr ) ; if ( ent ) SV_ClientPrintf ( svs . clients + ( n - 1 ) , level , " " , msg ) ; else Com_Printf ( " " , msg ) ; }
PF_cprintf
Print to a single client
PF_cprintf Print to a single client