Raised This Month: $ Target: $400
 0% 

team color glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-28-2010 , 09:36   Re: team color glow
Reply With Quote #1

okay, it works with Fw_SetModel. But it glows the player to.
I tried with drop again, but it's not working. It shows the messages but doesn't glow the gun.
I'm out of idea's.
PHP Code:
public cmd_drop(id)
{
    new 
wpn get_user_weapon(id)

    if(
wpn == 26)
    {
        
client_print(0print_chat"weapon %i dropped"wpn)
        
        if(
cs_get_user_team(id) == CS_TEAM_T)
        {
            
client_print(0print_chat"glowing gun")
            
fm_set_rendering(wpnkRenderFxGlowShell25500kRenderNormal150)
        }
            
        else
            
fm_set_rendering(wpnkRenderFxGlowShell00255kRenderNormal150)
    }
    return 
PLUGIN_CONTINUE

PHP Code:
stock fm_set_renderingentfx kRenderFxGlowShellrgbmode=kRenderNormalamount 16 )
{
    static 
Float:RenderColor
    
RenderColor] = float)
    
RenderColor] = float)
    
RenderColor] = float)
    
    
set_peventpev_renderfxfx )
    
set_peventpev_rendercolorRenderColor )
    
set_peventpev_rendermodemode )
    
set_peventpev_renderamtfloatamount ) )

__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Reply



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 05:20.


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