Raised This Month: $ Target: $400
 0% 

Messages...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ramirez
Member
Join Date: Aug 2004
Old 12-30-2004 , 10:52   Messages...
Reply With Quote #1

Alright, after a long time gone, I just caught up in amxx...
I finally understand messages quite good...
But i've still got a question...
Where exactly should I look in the SDK to find all the effect?
and also, events like:
Code:
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)     write_short( 15 )     write_short( 15 )     write_short( 12 )     write_byte( 200 ) // red     write_byte( 0 ) // green     write_byte( 0 ) // blue     write_byte( 200 ) // alpha     message_end()
Well, someone showed me this code in a previous thread..
I understand how it works but I just need to know: how did he know what to write where?
I mean.. how can he know how much bytes to write?
For example, I type "meta game" in console and get all messages...
But how do I know what to write for each messages?
Any help would be greatly appreciated
And btw, happy new year
Ramirez 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 19:16.


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