ACE3/documentation/framework/huntIR-framework.md
2015-08-25 03:30:36 +02:00

28 lines
491 B
Markdown

---
layout: wiki
title: HuntIR Framework
description: Explains how to add HuntIR support to a weapon.
group: framework
order: 5
parent: wiki
---
## 1. Config Values
```c++
class CfgWeapons {
class MyRifle {
class MyGL: UGL_F {
magazines[] = {
// All default UGL magazines
"MyFirstMag",
"MySecondMag",
"MyLastMag",
// HUntIR magazine
"ACE_HuntIR_M203"
};
};
};
};
```