ACE3/addons/headless/XEH_preInit.sqf
2016-01-02 14:23:14 +01:00

19 lines
370 B
Plaintext

#include "script_component.hpp"
ADDON = false;
PREP(handleConnectHC);
PREP(handleDisconnect);
PREP(handleInitPost);
PREP(moduleInit);
PREP(rebalance);
PREP(transferGroups);
if (isServer) then {
GVAR(headlessClients) = [];
GVAR(inRebalance) = false;
["ACE_HeadlessClientJoined", FUNC(handleConnectHC)] call EFUNC(common,addEventHandler);
};
ADDON = true;