Raised This Month: $ Target: $400
 0% 

Basic say/say_team block


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
chris-1337
Senior Member
Join Date: Jan 2008
Location: The United Kingdom Of Gr
Old 01-11-2008 , 14:46   Re: Basic say/say_team block
Reply With Quote #10

I think it is for voice chat only also.
I could make it so that individuals could mute other people's chat, however, I wouldn't be able to do it with colour.

If you are interested in knowing the problem I am having, for the colour chat you need something similar to:
Code:
public handle_say(id)
{
  message_begin(MSG_ONE, get_user_msgid("SayText"), {0,0,0}, id);
  write_byte(id);
  write_string("^x03Name ^x01 :  message");
  message_end();
}
It is just that the ^x03 represents your team coloured chat (eg red for terrorists, blue for counter-terrorists), and if someone from another team messages, then it turns up in your team's colour, so I would end up just using the "client_print" command (with no colour).
__________________
Microsoft Word has encountered an error.
As a result of this your bank account has been emptied, your credit cards maxed out & your family has been brutally murdered.
Thank-you for using Microsoft Products.
chris-1337 is offline
Send a message via MSN to chris-1337
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode