Quote:
Originally Posted by phoenix0001
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.