I got this code I made according to the dump file. Does it work flawlessly to all Special Infected?
Code:
stock bool IsClientTrappedBySI(client) // Is he trapped by a Special Infected?
{
if(GetClientTeam(client) != 2)
return false;
return ( ( GetEntProp(client, Prop_Send, "m_pummelAttacker") > 0 ) || (GetEntProp(client, Prop_Send, "m_pounceAttacker") > 0) || (GetEntProp(client, Prop_Send, "m_jockeyAttacker") > 0) || (GetEntProp(client, Prop_Send, "m_isHangingFromTongue") > 0) || (GetEntProp(client, Prop_Send, "m_isProneTongueDrag") > 0) || (GetEntProp(client, Prop_Send, "m_reachedTongueOwner") > 0) ) ? true : false;
}