ACE3/addons/rearm/XEH_postInit.sqf

9 lines
362 B
Plaintext
Raw Normal View History

2015-08-16 21:52:37 +00:00
#include "script_component.hpp"
2016-05-24 13:13:11 +00:00
["ace_medical_onUnconscious", {_this call FUNC(handleUnconscious)}] call CBA_fnc_addEventHandler;
["ace_playerVehicleChanged", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}] call CBA_fnc_addEventHandler;
2016-02-19 16:32:02 +00:00
if (isServer) then {
addMissionEventHandler ["HandleDisconnect", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}];
};