PHP- Kodu:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event"DeathMsg""Event_DMsg""a" );
}

public 
Event_DMsg()
{
    
    new 
victim read_data);
    new 
attacker get_user_attackervictim );
    
    if( 
attacker == victim )
        return 
PLUGIN_HANDLED;
    
    if( 
get_user_teamattacker ) == && get_user_teamvictim ) == )
    {
             if( !
is_user_aliveattacker ) )
         return 
PLUGIN_HANDLED;
         
         if( 
user_has_weaponattackerCSW_HEGRENADE ) )
         return 
PLUGIN_HANDLED;
         
         
give_itemattacker"weapon_hegrenade" );
    }
    return 
PLUGIN_HANDLED;