2015-03-29 13:20:39 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2015-08-10 21:07:47 +00:00
|
|
|
PREP(canLoadItemIn);
|
|
|
|
PREP(canUnloadItem);
|
|
|
|
PREP(canLoad);
|
|
|
|
PREP(findNearestVehicle);
|
|
|
|
PREP(getCargoSpaceLeft);
|
|
|
|
PREP(GetSizeItem);
|
|
|
|
PREP(initObject);
|
|
|
|
PREP(initVehicle);
|
|
|
|
PREP(handleDestroyed);
|
|
|
|
PREP(loadItem);
|
|
|
|
PREP(onMenuOpen);
|
|
|
|
PREP(unloadItem);
|
|
|
|
PREP(validateCargoSpace);
|
|
|
|
PREP(startLoadIn);
|
|
|
|
PREP(startUnload);
|
|
|
|
GVAR(initializedItemClasses) = [];
|
|
|
|
|
|
|
|
if (isServer) then {
|
|
|
|
["cargo_hideItem", {(_this select 0) hideObjectGlobal (_this select 1);}] call EFUNC(common,addEventHandler);
|
|
|
|
};
|
2015-03-29 13:20:39 +00:00
|
|
|
|
|
|
|
ADDON = true;
|