Ok,I have a plugin that turns HE grenades to grenade launchers,and I set DMG_ALWAYSGIB for the grenade launcher,but you can team kill regardless of mp_friendlyfire - DMG_ALWAYSGIB is causing this so how can I prevent it?
Code:
public fw_TakeDamage(victim, inflictor, attacker, Float:damage)
{
if ( is_valid_player( attacker ) && get_user_weapon(attacker) == CSW_HEGRENADE && g_HaveGL[attacker] )
{
SetHamParamFloat(4, damage * get_pcvar_float( cvar_dmgmultiplier ) )
SetHamParamInteger(5, DMG_ALWAYSGIB) // this damage type is causing friendly fire even if you turn off friendly fire!
}
}