mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
19 lines
370 B
Plaintext
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;
|