Create a simple mod with the following in the config.cpp
class CfgPatches
{
class server_mod
{
units[] = {};
weapons[] = {};
requiredAddons[] = { "A3_Data_F", "A3_Soft_F", "A3_Soft_F_Offroad_01", "A3_Characters_F" };
fileName = "server_mod.pbo";
author[] = { "Jaffa" };
};
};
class CfgVehicles
{
class Land;
class LandVehicle : Land {
class EventHandlers;
};
class Car : LandVehicle {
class EventHandlers : EventHandlers {
init = "diag_log format['Init called for %1 (%2)',_this select 0,typeOf (_this select 0)]";
};
};
class Tank : LandVehicle {
class EventHandlers : EventHandlers {
init = "diag_log format['Init called for %1 (%2)',_this select 0,typeOf (_this select 0)]";
};
};
class All;
class AllVehicles : All {
class EventHandlers;
};
class Ship : AllVehicles {
class EventHandlers : EventHandlers {
init = "diag_log format['Init called for %1 (%2)',_this select 0,typeOf (_this select 0)]";
};
};
class Air : AllVehicles {
class EventHandlers : EventHandlers {
init = "diag_log format['Init called for %1 (%2)',_this select 0,typeOf (_this select 0)]";
};
};
}; class AllVehicles : All {
class EventHandlers;
};
class Ship : AllVehicles {
class EventHandlers : EventHandlers {
init = "_this spawn AGAL_fnc_clearVehicleAmmo";
};
};
class Air : AllVehicles {
class EventHandlers : EventHandlers {
init = "_this spawn AGAL_fnc_clearVehicleAmmo";
};
};
};