mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
10 lines
353 B
Plaintext
10 lines
353 B
Plaintext
#include "script_component.hpp"
|
|
|
|
if (!hasInterface || !GVAR(enabled)) exitWith {};
|
|
|
|
GVAR(cachedCasings) = createHashMap;
|
|
GVAR(cachedMagazines) = createHashMap;
|
|
GVAR(casings) = [];
|
|
["CAManBase", "FiredMan", LINKFUNC(createCasing)] call CBA_fnc_addClassEventHandler;
|
|
[QGVAR(reloaded), "Reloaded", LINKFUNC(createMagazine)] call EFUNC(common,addPlayerEH);
|