2015-03-14 19:58:05 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2015-03-14 19:58:05 +00:00
|
|
|
|
|
|
|
if (isServer) then {
|
2015-04-06 16:22:43 +00:00
|
|
|
GVAR(drawing_serverLineMarkers) = [];
|
|
|
|
publicVariable QGVAR(drawing_serverLineMarkers);
|
2015-03-14 19:58:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//Add Event Handlers:
|
|
|
|
["drawing_removeLineMarker", FUNC(removeLineMarker) ] call EFUNC(common,addEventHandler);
|
|
|
|
["drawing_addLineMarker", FUNC(addLineMarker) ] call EFUNC(common,addEventHandler);
|
|
|
|
|
|
|
|
["drawing_requestMarkers", FUNC(copyMapRemoteSend) ] call EFUNC(common,addEventHandler);
|
|
|
|
["drawing_sendbackMarkers", FUNC(copyMapReceiveMarkers) ] call EFUNC(common,addEventHandler);
|
|
|
|
|
|
|
|
ADDON = true;
|