ACE3/addons/headless/XEH_preInit.sqf

19 lines
370 B
Plaintext
Raw Normal View History

2016-01-02 13:23:14 +00:00
#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;