Raised This Month: $ Target: $400
 0% 

[Tutorial] Usermessages : list, ussage, bitbuffer structure


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
psychonic

BAFFLED
Join Date: May 2008
Old 03-23-2009 , 08:49   Re: [Tutorial] Usermessages : list, ussage, bitbuffer structure
Reply With Quote #14

Quote:
Originally Posted by CrimsonGT View Post
Im a bit confused, I wrote a plugin that hooks all TF2 usermessages and creates a 0.1 second timer and then prints to chat when they are called. Some usermessages which I KNOW are being called are not printing out to chat. For example SayText2, I have another plugin that uses SayText2 but when I use it, nothing prints to chat.

My other question is how the hell do you find out what the args for a usermessage are? The first post says it will be covered later but never goes over it so im a bit clueless.
Not sure why your hook isn't working. That's the only way I know of to get a good guess of the format, but this is what I use for SayText2 in TF2

PHP Code:
    BfWriteByte(hBfclientid); 
    
BfWriteByte(hBf0); 
    
BfWriteString(hBfmessage);
    
EndMessage(); 
Use \x03 in the message for the team color of the specified clientid.
psychonic 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 23:39.


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