2015-01-13 03:23:14 +00:00
|
|
|
class Extended_PreInit_EventHandlers {
|
|
|
|
class ADDON {
|
2015-01-14 00:07:32 +00:00
|
|
|
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_FiredBIS_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(Overheat) {
|
|
|
|
clientFiredBIS = QUOTE( if (_this select 0 == ACE_player) then {_this call FUNC(overheat)}; );
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Extended_Take_EventHandlers {
|
|
|
|
class CAManBase {
|
|
|
|
class GVAR(UnjamReload) {
|
2015-01-14 00:07:32 +00:00
|
|
|
clientTake = QUOTE( if (_this select 0 == ACE_player && {(_this select 1) in [ARR_3(uniformContainer (_this select 0), vestContainer (_this select 0), backpackContainer (_this select 0))]} && {_this select 2 == currentMagazine (_this select 0)}) then {_vehicle = vehicle (_this select 0); [ARR_3(_vehicle, currentWeapon _vehicle, true)] call FUNC(clearJam)}; );
|
2015-01-13 03:23:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|