#ifdef CLIENT_DLL
        Msg("Client: %s", text);
#else
        Msg("Server: %s", text);
#endif

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Saul Rennison
Sent: Sunday, February 03, 2008 11:50 PM
To: [email protected]
Subject: [hlcoders] Editting Msg(...)

Hey Guys,
I'm wondering if there is some way I can change Msg() in my mod. I want
it to prefix with "SERVER:" if the Msg() was called in the server.dll,
and  "CLIENT:"  if the Msg() was called in the client.dll

Thanks in advance,
 - Saul.

_______________________________________________
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