You can't sorta --- Though you might need to do some hacking to get it to
actually fire the say, this acts as more of a blocking hook.
CON_COMMAND( say, "say hook")
{
char buf[128] = "say ";
for(int x=1; x<engine->Cmd_Argc(); x++)
{
strncat(buf, engine->Cmd_Argv(x), sizeof(buf));
strncat(buf, " ", sizeof(buf));
}
strncat(buf, "\n", sizeof(buf));
Msg(buf);
}
----- Original Message -----
From: "Alfred Reynolds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 5:07 AM
Subject: RE: [hlcoders] Want To add handle_say event
You can't right now, I will be adding a game event that fires when a say
message is sent.
- Alfred
----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ray Toye
Sent: Friday, December 03, 2004 9:01 PM To:
[EMAIL PROTECTED] Subject: [hlcoders] Want To add
handle_say event
I didnt do any coding (besides smalls plugins) for hl1 so this is all
new to me and adding the fact that all my c++ coding is done with
Borland Builder, Im a bit lost on making a server plugin dll. I have
compiled the serverplugin_empty project using VC++ 6 successfully and
Now I would like to add the mechinism to trap the say and say_team
events and I dont even know where to begin.
Can someone point me in the right Direction?
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
_______________________________________________
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