Raised This Month: $ Target: $400
 0% 

message_begin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ramirez
Member
Join Date: Aug 2004
Old 09-05-2004 , 14:52   message_begin
Reply With Quote #1

Alright, I wanted to start playing around with the message_thing used to make like special effects and stuff...
BUt I can't understand at all o_O
I read al the function documentation on AMXX site and I still can't understand...
Could anyone hook me up with a tutorial or jsut explain the basics here?
thanks
Ramirez is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 09-05-2004 , 18:16  
Reply With Quote #2

What kinda messages?
Peli is offline
Send a message via MSN to Peli
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 09-05-2004 , 18:23  
Reply With Quote #3

Messages are very differing. Heres an example of one.

public Flash(id) {
message_begin(MSG_ONE,gMsgScreenFade,{0,0,0}, id)
write_short( 1<<15 )
write_short( 1<<10 )
write_short( 1<<12 )
write_byte( 255 )
write_byte( 255 )
write_byte( 255 )
write_byte( 255 )
message_end()

}

You need to have intimate knowledge of the SDK to know exactly which bytes, shorts, and other things to write. I suggest you look into the SDK before trying it.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Ramirez
Member
Join Date: Aug 2004
Old 09-06-2004 , 05:31  
Reply With Quote #4

I did look in the SDK...
But I kinda dont know where to look like(so many stuff in the SDK)
And I just wanna learn the basics and everything...
Syntax...
Ramirez is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 09-06-2004 , 14:38  
Reply With Quote #5

Ramirez The thread named "Quick support/help - Misc suggestions" Has a file on there that explains the different message types that can be used, and the parameters needed to initiate them. I doubt that that is all the messages there are but that is a general overview you can begin with. Look at other plugins that use Message_Begin() to understand how to use these functions.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
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 17:13.


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