View Single Post
Author Message
Austin
Senior Member
Join Date: Oct 2005
Old 09-17-2021 , 03:21   [CSGO] Add glow to dropped health shot?
Reply With Quote #1

I have a working on drop and know when a health shot is dropped
but how do I take the weapon passed in and add glow to it?

PHP Code:
public Hook_WeaponDropPost(clientweapon)
{
    if(
weapon >= 0)
    {
        new 
String:weaponName[128];
        
GetEdictClassname(weaponweaponNamesizeof(weaponName));
        if (
strcmp(weaponName"weapon_healthshot") == 0)
            
// Add glow to weapon how? 

Last edited by Austin; 09-17-2021 at 03:22.
Austin is offline