mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
2aaef9e791
* fix missing respawn func / spectator string * fix readSettingsFromParamsArray, cleanup spec event * cleanup usless if statement
30 lines
762 B
C++
30 lines
762 B
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
name = COMPONENT_NAME;
|
|
units[] = {};
|
|
weapons[] = {};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_common"};
|
|
author = ECSTRING(common,ACETeam);
|
|
authors[] = {"F3 Project","Head","SilentSpike","voiper"};
|
|
url = ECSTRING(main,URL);
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "ACE_Settings.hpp"
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "ui.hpp"
|
|
|
|
class CfgRespawnTemplates {
|
|
class ADDON {
|
|
displayName = CSTRING(Module_DisplayName);
|
|
onPlayerKilled = QFUNC(respawnTemplate);
|
|
onPlayerRespawn = QFUNC(respawnTemplate);
|
|
respawnTypes[] = {1,2,3,4,5};
|
|
};
|
|
};
|