Raised This Month: $ Target: $400
 0% 

Adding a glowing efect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
StormZone
BANNED
Join Date: Nov 2008
Location: [RO]Hunedoara/Petrosani
Old 10-07-2009 , 07:14   Adding a glowing efect
Reply With Quote #1

Heloo again.
So this is a part of an ultimate form uwc3,wath i want to do is to make the one ho uses this to glow as long as the ultimate is active.
The glowing should be yelow or gold.
Y tried some methods but not glowing.Y would realy apreciate if someone should show me how to make this.

PHP Code:
/* VooDoo */
public Ult_VooDoo id )
{

    if ( !
Ult_Can_Use idSKILLIDX_VOODOO) )
    {
        return 
PLUGIN_HANDLED;
    }

    if ( !
ultimateused[id] )
    {
        new 
parm[2];
        
parm[0] = id;
        
parm[1] = 3;

        
godshealth[id] = get_user_health id );
        
hasgodmode[id] = true;

        
set_user_health_log idget_user_health id ) + 2048 );

        new 
Float:fTime 5.0;
        new 
iByte 4;

        if ( 
USE_ENH && ( p_attribs[id][ATTRIBIDX_INT] >= INT_MASTER_LEVEL ) )
        {
            
iByte 4;
            
fTime 5.0;
        }
        else
        {
            
fTime 3.0;
            
iByte 2;
        }

        
set_task fTime"Task_Reset_Godmode"TASK_RESET_GODMODE idparm);

        if( 
Util_Should_Msg_Client(id) )
        {
            
message_begin MSG_ONE108, { 00}, id );

            
// Bar ( thanks to bad-at-this )
            // duration
            
write_byte iByte );

            
// duration
            
write_byte );

            
message_end ( );
        }

        if( 
Util_Should_Msg_Client_Aliveid ) )
        {
            if ( 
file_exists "sound/warcraft3/divineshield.wav" ) == )
            {
                
emit_sound idCHAN_STATIC"warcraft3/divineshield.wav"1.0ATTN_NORM0PITCH_NORM );
            }
        }

        
ultimateused[id] = true;
        
icon_controller id );
    }

    return 
PLUGIN_HANDLED;


StormZone is offline
Send a message via Yahoo to StormZone Send a message via Skype™ to StormZone
 



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 22:39.


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