message_begin
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 :D |
What kinda messages?
|
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. |
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 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.
|
| All times are GMT -4. The time now is 17:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.