Raised This Month: $ Target: $400
 0% 

Say Team Say Color


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vandercal
Member
Join Date: Apr 2004
Location: Sweden
Old 07-26-2005 , 10:50  
Reply With Quote #9

Taken a peek on things now and this is the result of what I found:

Code:
message_begin(MSG_ONE, gmsgSayText, {0,0,0}, iArrSendToList[iPlayer])
write_byte( iArrSendToList[iPlayer] )
write_string(sRealMessage)
message_end()
Is where we send the message. However that message comes from the server and I havent been able to find any way to get past that. ^x03 will result in the color of the team the player is on and since I cant tell the client who is sending it there is a problem. It will simply use the team color of the reciever, thus it will always be the same color no matter who sends it. Until a solution for this comes up there is no need to use this plugin since it simply wont work. The only thing I can tell you atm is that MSG_ONE wont work for this. As far as I can say, you cant do this at all since I dont know of any halflife engine call which might do what I want.
__________________
vandercal is offline
 



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 14:30.


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