mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e5f02f8d63
sys_cargo to merge
27 lines
631 B
C++
27 lines
631 B
C++
class Extended_PreInit_EventHandlers {
|
|
class ADDON {
|
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
|
};
|
|
};
|
|
class Extended_PostInit_EventHandlers {
|
|
class ADDON {
|
|
clientInit = QUOTE(call COMPILE_FILE(XEH_postInit));
|
|
};
|
|
};
|
|
class Extended_Killed_EventHandlers {
|
|
class AllVehicles {
|
|
class ADDON {
|
|
killed = QUOTE(_this call FUNC(clearCargo));
|
|
exclude[] = {"Man"}; //Exclude Animals and Humans
|
|
};
|
|
};
|
|
};
|
|
|
|
class Extended_InitPost_EventHandlers {
|
|
class AllVehicles {
|
|
class ADDON {
|
|
Init = QUOTE(if (alive (_this select 0)) then {_this call FUNC(init)});
|
|
exclude[] = {"Man"}; //Exclude Animals and Humans
|
|
};
|
|
};
|
|
}; |