mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
29 lines
577 B
Plaintext
29 lines
577 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP(canLoad);
|
|
PREP(canLoadItemIn);
|
|
PREP(canUnloadItem);
|
|
PREP(findNearestVehicle);
|
|
PREP(getCargoSpaceLeft);
|
|
PREP(getSizeItem);
|
|
PREP(handleDestroyed);
|
|
PREP(initObject);
|
|
PREP(initVehicle);
|
|
PREP(loadItem);
|
|
PREP(moduleSettings);
|
|
PREP(onMenuOpen);
|
|
PREP(startLoadIn);
|
|
PREP(startUnload);
|
|
PREP(unloadItem);
|
|
PREP(validateCargoSpace);
|
|
|
|
GVAR(initializedItemClasses) = [];
|
|
|
|
if (isServer) then {
|
|
["cargo_hideItem", {params ["_object", "_status"]; _object hideObjectGlobal _status;}] call EFUNC(common,addEventHandler);
|
|
};
|
|
|
|
ADDON = true;
|