public FireMolotov_Think_Post(iEntity)
{
if (is_nullent(iEntity)) return;
if (FClassnameIs(iEntity, EFFECT_CLASSNAME_MUZZLEFLASH)) {
static iOwner; iOwner = get_entvar(iEntity, var_owner);
static iItem;
if (is_user_alive(iOwner)) {
iItem = get_member(iOwner, m_pActiveItem);
if (is_nullent(iItem)) {
set_entvar(iEntity, var_flags, FL_KILLME);
}
else if (FClassnameIs(iItem, ITEM_CLASSNAME)) {
}
else {
set_entvar(iEntity, var_flags, FL_KILLME);
}
}
else {
set_entvar(iEntity, var_flags, FL_KILLME);
}
}
set_entvar(iEntity, var_nextthink, get_gametime() + 0.025);
}