mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a6ced105ee
* Add novehicleclanlogo component * Documentation * Update README.md * Use selection name from vehicle config
15 lines
595 B
Plaintext
15 lines
595 B
Plaintext
#include "script_component.hpp"
|
|
|
|
// clan logos are not used in singleplayer
|
|
if (!isMultiplayer) exitWith {};
|
|
|
|
["CBA_settingsInitialized", {
|
|
TRACE_1("settingsInit eh",GVAR(enabled));
|
|
|
|
if (isServer && {GVAR(enabled)}) then {
|
|
["LandVehicle", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
["Air", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
["Ship", "initPost", LINKFUNC(removeClanLogo), true, [], true] call CBA_fnc_addClassEventHandler;
|
|
};
|
|
}] call CBA_fnc_addEventHandler;
|