Print to chat area...
How?
Its not eng->ClientPrintf(), because that prints to the console. its not helpers->CreateMessage(), thats the upper left corner |
I saw this somewhere, it was posted on hlcoders...
|
yea but it required the use of c_baseplayer to do..... which isn't possible via a server plugin
|
I have the same problem. There's engine->Con_NPrintf and engine->Con_NXPrintf which appear on the HUD and can change y position and color, but its completely useless as I can tell because it only seems to print on a listen server's host :(
|
Use SayText usermessage for this, it will show chat messages on screen.
|
do you have an example? I don't know how to send a "SayText" message, also is there a list of these messages somewhere?
|
Quote:
Any idea how to trap the say and say_team messages from the client? |
Quote:
bf_write *pWrite; pWrite = engine->UserMessageBegin((IRecipientFilter *)&mrf,1); but cant get it to link, It cant find a lib for the bf_write. |
Don't waste your time.. I spend literally hours and got the bf_write to work and wrote a filter and at the end of it all, it crashes with a 'No UserMessage Given' error.
|
You have to include bitbuf.cpp into your makefile to get it working. And yes, usermessages are working fine.
|
All times are GMT -4. The time now is 09:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.