--
[ Picked text/plain from multipart/alternative ]
Just because he can ;-)

/ProZak


On 04/02/2008, Tom Leighton <[EMAIL PROTECTED]> wrote:
>
> Garry why do you have to spoil everything... xd
>
> Garry Newman wrote:
> > MyMsg( "%s", "Hello %s" );
> >
> > crash :x
> >
> > garry
> >
> > On Sun, Feb 3, 2008 at 9:51 PM, Jorge Rodriguez <[EMAIL PROTECTED]>
> wrote:
> >
> >> --
> >>  [ 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
> >>
> >>
> >>
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to