Raised This Month: $ Target: $400
 0% 

Set C4 Glow (when is dropped)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 05-09-2010 , 08:13   Set C4 Glow (when is dropped)
Reply With Quote #1

Title ?

My code:
PHP Code:
#include < amxmodx >
#include < fakemeta >

#define fm_find_ent_by_class(%1,%2) engfunc( EngFunc_FindEntityByString, %1, "classname", %2 )

#define _red    255
#define _green    255
#define _blue    255
#define _alpha    25

public plugin_init()
{
    
register_forwardFM_SetModel"fw_model")
}

public 
fw_modelent )
{
    if( !
pev_valident) )
        return 
FMRES_IGNORED
    
    
while( ( ent fm_find_ent_by_classent"weapon_c4" ) ) > )
        
fm_set_renderingentkRenderFxGlowShell_red_green_blue__alpha )

    return 
FMRES_IGNORED
}

fm_set_renderingentfx kRenderFxNonergbmode=kRenderNormalamount 16 )
{
    static 
Float:RenderColor
    
RenderColor] = float)
    
RenderColor] = float)
    
RenderColor] = float)
    
    
set_peventpev_renderfxfx )
    
set_peventpev_rendercolorRenderColor )
    
set_peventpev_rendermodemode )
    
set_peventpev_renderamtfloatamount ) )

doesn't work!
dFF is offline
 


Thread Tools
Display Modes

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 03:44.


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