Raised This Month: $ Target: $400
 0% 

how long are you flashed?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 01-02-2006 , 08:00  
Reply With Quote #3

EDIT: everything solved but now i get an loose idention on the last return PLUGIN_CONTINUE, why?
Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN  "Test" #define VERSION "Test" #define AUTHOR  "Test" new g_nMsgScreenFade public plugin_init() {     register_plugin(PLUGIN,VERSION,AUTHOR)     register_event("ScreenFade","FlashedEvent","be","4=255","5=255","6=255","7>199")     g_nMsgScreenFade = get_user_msgid("ScreenFade") } public FlashedEvent( id ) {     if( is_user_admin( id ) && !is_user_alive( id ) ){     message_begin( MSG_ONE,g_nMsgScreenFade,{0,0,0},id )     write_short( read_data( 1 ) )   // Duration     write_short( read_data( 2 ) )   // Hold time     write_short( read_data( 3 ) )   // Fade type     write_byte (0)          // Red     write_byte (0)          // Green     write_byte (0)          // Blue     write_byte ( read_data( 7 ) )   // Alpha     message_end()     return PLUGIN_HANDLED     } return PLUGIN_CONTINUE }

Thank you.
__________________
Sig(h)!
Obbin 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 16:04.


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