--
[ Picked text/plain from multipart/alternative ]
Alternatively, offhand,
void MyMsg( const tchar* pMsg, ... )
{
tchar szMsg[1024];
va_list args;
va_start( args, pMsgFormat );
vsnprintf( szMsg, sizeof(szMsg) - 1, pMsg, args );
va_end(args);
#ifdef CLIENT_DLL
Msg( "C: " );
#else
Msg( "S: " );
#endif
Msg( szMsg );
}
#define Msg MyMsg
(Note: I never actually built this code and I don't know how well it would
work.)
--
Jorge "Vino" Rodriguez
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders