// to one player
ClientPrint( pPlayer, HUD_PRINTTALK, "Hello World\n" );

// to all players
UTIL_ClientPrintAll( HUD_PRINTTALK, "Hello World\n" );

Use HUD_PRINTCENTER instead of HUD_PRINTTALK to print to the center of
the screen.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Sent: Monday, December 06, 2004 8:27 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Sending a regular text message

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ] How do I print a
regular text message on a player's screen? Not any of the DIALOG stuff,
just a message like if a user typed something in chat?



Thanks,

Josh

--


_______________________________________________
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