Raised This Month: $ Target: $400
 0% 

Flash Block


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-30-2009 , 00:44   Re: Flash Block
Reply With Quote #7

He have.
Quote:
Originally Posted by zacky View Post
Make this:
PHP Code:
new gMsgScreenFade
Then in plugin_cfg (i think you can do this in plugin_init too, but i'm not sure):
PHP Code:
gMsgScreenFade get_user_msgid("ScreenFade"); 
And heres the flash effect:
PHP Code:
message_begin(MSG_ONE_UNRELIABLEgMsgScreenFade, {0,0,0}, id);    // Message Start
write_short();    // Duration
write_short();    // Hold Time
write_short();    // Fade in/out type
write_byte();    // Red
write_byte();    // Green
write_byte();    // Blue
write_byte();    // Alpha
message_end();    // Message End 
micke1101 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 13:52.


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