Skip to content

OnLiquidWeaponFired

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnLiquidWeaponFired( LiquidWeapon instance, BasePlayer player )
{
    Puts( "OnLiquidWeaponFired works!" );
}

Location

  • LiquidWeapon::StartFiring(BaseEntity/RPCMessage msg)
csharp
//---
	this.StartCooldown(this.FireRate);
	if (base.isServer)
	{
		base.SendNetworkUpdateImmediate(false);
	}
	Interface.CallHook("OnLiquidWeaponFired", this, player);
}

Released under the MIT License.