Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Addon : Biohazard Icon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 09-03-2009 , 20:45   Re: [ZP] Addon : Biohazard Icon
Reply With Quote #17

@Bloodman: Biohazard already had this ....Look for it..
@Zombie Lurker:
I don't know ..but if
PHP Code:
        write_byte(2); // status (0=hide, 1=show, 2=flash)
        
write_string("dmg_bio"); // sprite name
        
write_byte(255); // red
        
write_byte(255); // green
        
write_byte(0); // blue 
It will flash red and yellow.
BTW, I recommend you to make the "icon" thing as a stock...That'll clean up the code a bit..
PHP Code:
stock set_user_icon(id mode red green blue)
{        
                
message_begin(MSG_ONE,iconstatus,{0,0,0},id);
        
write_byte(mode); // status (0=hide, 1=show, 2=flash)
        
write_string("dmg_bio"); // sprite name
        
write_byte(red); // red
        
write_byte(green); // green
        
write_byte(blue); // blue
        
message_end(); 

Last edited by 5c0r-|3i0; 09-03-2009 at 20:48. Reason: Forgot =))
5c0r-|3i0 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 01:22.


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