ACE3/addons/rearm/XEH_postInit.sqf

9 lines
354 B
Plaintext
Raw Normal View History

2015-08-16 21:52:37 +00:00
#include "script_component.hpp"
["medical_onUnconscious", {_this call FUNC(handleUnconscious)}] call CBA_fnc_addEventHandler;
["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)}];
};