CanBeWounded
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanBeWounded( BasePlayer instance, HitInfo info )
{
Puts( "CanBeWounded works!" );
}
Location
- BasePlayer::EligibleForWounding(HitInfo info)
csharp
public virtual bool EligibleForWounding(HitInfo info)
{
object returnvar = Interface.CallHook("CanBeWounded", this, info);
if (returnvar is bool)
{
return (bool)returnvar;
}
if (!ConVar.Server.woundingenabled)
//---