From Action Army's range of HPA Adapters we have the KJ Works / WE HPA Adapter for Gas Magazines.
This item replaces the original gas valve in the bottom of the magazine and replaces it with a US Foster Male fitting suitable for connecting HPA Power Pack to and enables you to run your RIF on HPA.