ACE3/addons/rearm/XEH_postInit.sqf

9 lines
366 B
Plaintext
Raw Permalink Normal View History

2015-08-16 21:52:37 +00:00
#include "script_component.hpp"
2015-12-07 20:07:03 +00:00
["medical_onUnconscious", {_this call FUNC(handleUnconscious)}] call EFUNC(common,addEventHandler);
["playerVehicleChanged", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}] call EFUNC(common,addEventHandler);
2016-02-19 16:32:02 +00:00
if (isServer) then {
addMissionEventHandler ["HandleDisconnect", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}];
};