mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
16 lines
615 B
Plaintext
16 lines
615 B
Plaintext
#include "script_component.hpp"
|
|
|
|
["ace_unconscious", {_this call FUNC(handleUnconscious)}] call CBA_fnc_addEventHandler;
|
|
["vehicle", {
|
|
params ["_unit"];
|
|
[_unit] call FUNC(dropAmmo);
|
|
}] call CBA_fnc_addPlayerEventHandler;
|
|
|
|
if (isServer) then {
|
|
addMissionEventHandler ["HandleDisconnect", {params ["_unit"]; [_unit] call FUNC(dropAmmo)}];
|
|
};
|
|
|
|
[QGVAR(makeDummyEH), FUNC(makeDummy)] call CBA_fnc_addEventHandler;
|
|
[QGVAR(rearmEntireVehicleSuccessLocalEH), FUNC(rearmEntireVehicleSuccessLocal)] call CBA_fnc_addEventHandler;
|
|
[QGVAR(rearmSuccessLocalEH), FUNC(rearmSuccessLocal)] call CBA_fnc_addEventHandler;
|