Raised This Month: $ Target: $400
 0% 

Solved Items are glow


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-18-2017 , 13:39   Re: [L4D2]Items are glow
Reply With Quote #32

Quote:
Originally Posted by phoenix0001 View Post
PHP Code:
char itemM60_GL[][] = 

    
"weapon_grenade_launcher",
    
"weapon_grenade_launcher_spawn",
    
"weapon_rifle_m60",
    
"weapon_rifle_m60_spawn",
    
"weapon_rifle_sg552",
    
"weapon_rifle_sg552_spawn",
    
"weapon_smg_mp5",
    
"weapon_smg_mp5_spawn",
    
"weapon_sniper_scout",
    
"weapon_sniper_scout_spawn",
    
"weapon_sniper_awp",
    
"weapon_sniper_awp_spawn",
    
"weapon_chainsaw",
    
"weapon_chainsaw_spawn",
    
"weapon_knife",
    
"weapon_knife_spawn",
    
"weapon_riotshield",
    
"weapon_riotshield_spawn"
}; 
knife,riotshield
Melee weapon,unable to display
That won't work. None of those classnames ("weapon_knife", "weapon_knife_spawn", "weapon_riotshield", "weapon_riotshield_spawn") exists in L4D2.

All melee weapons have the same classname, it's weapon_melee or weapon_melee_spawn
Which means all melee weapons will have the same glow color as per plugin design. I have no plans to make it color based on melee type because it would just complicate the simplicity of the plugin.

Last edited by Visual77; 07-18-2017 at 13:59.
Visual77 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 22:38.


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