Raised This Month: $ Target: $400
 0% 

Messages...


Post New Thread Reply   
 
Thread Tools Display Modes
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
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-30-2004 , 13:01  
Reply With Quote #2

The messages are littereted around the SDK, but some are uncommented and not in other mods. To figure out everything you need to know about a message, check out Damaged Soul's Message Logging.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Ramirez
Member
Join Date: Aug 2004
Old 12-30-2004 , 14:55  
Reply With Quote #3

WOw, thanks a lot.
Ill take a look at that plugin.
Ramirez is offline
UFo
Junior Member
Join Date: Oct 2004
Location: Xi`an,China
Old 12-31-2004 , 05:01  
Reply With Quote #4

u2 happy new year
__________________
hi all!
I am a Chinese boy
UFo is offline
Send a message via MSN to UFo
Reply



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