From 425be3a6c28c7f69a76b6d758428a1e523d17532 Mon Sep 17 00:00:00 2001 From: bux578 Date: Tue, 13 Jan 2015 15:28:03 +0100 Subject: [PATCH] fixes and spaces --- addons/respawn/CfgEventHandlers.hpp | 22 ++--- addons/respawn/CfgVehicleClasses.hpp | 6 +- addons/respawn/config.cpp | 27 +++--- .../functions/fnc_canMoveRallypoint.sqf | 8 +- addons/respawn/functions/fnc_getAllGear.sqf | 38 ++++---- addons/respawn/functions/fnc_handleKilled.sqf | 4 +- .../respawn/functions/fnc_handleRespawn.sqf | 2 +- .../respawn/functions/fnc_initRallypoint.sqf | 8 +- addons/respawn/functions/fnc_module.sqf | 28 +++--- .../functions/fnc_moduleFriendlyFire.sqf | 20 ++--- .../functions/fnc_moduleRallypoint.sqf | 2 +- .../respawn/functions/fnc_moveRallypoint.sqf | 50 +++++------ addons/respawn/functions/fnc_removeBody.sqf | 8 +- .../fnc_removeDisconnectedPlayer.sqf | 8 +- addons/respawn/functions/fnc_restoreGear.sqf | 86 +++++++++---------- .../functions/fnc_showFriendlyFireMessage.sqf | 4 +- .../functions/fnc_teleportToRallypoint.sqf | 24 +++--- addons/respawn/functions/script_component.hpp | 1 + 18 files changed, 173 insertions(+), 173 deletions(-) create mode 100644 addons/respawn/functions/script_component.hpp diff --git a/addons/respawn/CfgEventHandlers.hpp b/addons/respawn/CfgEventHandlers.hpp index 687de2a825..e3e95cb39f 100644 --- a/addons/respawn/CfgEventHandlers.hpp +++ b/addons/respawn/CfgEventHandlers.hpp @@ -1,20 +1,20 @@ class Extended_PreInit_EventHandlers { - class ADDON { - init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); - }; + class ADDON { + init = QUOTE( call COMPILE_FILE(XEH_preInit) ); + }; }; class Extended_Killed_EventHandlers { - class CAManBase { - class GVAR(HandleGear) { - killed = QUOTE( _this call FUNC(handleKilled) ); + class CAManBase { + class GVAR(HandleGear) { + killed = QUOTE( _this call FUNC(handleKilled) ); + }; }; - }; }; class Extended_Respawn_EventHandlers { - class CAManBase { - class GVAR(HandleGear) { - respawn = QUOTE( _this call FUNC(handleRespawn) ); + class CAManBase { + class GVAR(HandleGear) { + respawn = QUOTE( _this call FUNC(handleRespawn) ); + }; }; - }; }; diff --git a/addons/respawn/CfgVehicleClasses.hpp b/addons/respawn/CfgVehicleClasses.hpp index 2907b719e9..8d4eeb139c 100644 --- a/addons/respawn/CfgVehicleClasses.hpp +++ b/addons/respawn/CfgVehicleClasses.hpp @@ -1,5 +1,5 @@ class CfgVehicleClasses { - class GVAR(Rallypoints) { - displayName = "ACE Respawn"; - }; + class GVAR(Rallypoints) { + displayName = "ACE Respawn"; + }; }; diff --git a/addons/respawn/config.cpp b/addons/respawn/config.cpp index 9fa3e49de4..c9c999e6bd 100644 --- a/addons/respawn/config.cpp +++ b/addons/respawn/config.cpp @@ -1,17 +1,17 @@ #include "script_component.hpp" class CfgPatches { - class ADDON { - units[] = {}; - weapons[] = {"ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent"}; - requiredVersion = 0.60; - requiredAddons[] = {"ace_core"}; - version = QUOTE(VERSION); - versionStr = QUOTE(VERSION); - versionAr[] = {VERSION_AR}; - author[] = {"bux578", "commy2"}; - authorUrl = "https://github.com/bux578/"; - }; + class ADDON { + units[] = {}; + weapons[] = {"ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent"}; + requiredVersion = 0.60; + requiredAddons[] = {"ace_core"}; + version = QUOTE(VERSION); + versionStr = QUOTE(VERSION); + versionAr[] = {VERSION_AR}; + author[] = {"bux578", "commy2"}; + authorUrl = "https://github.com/bux578/"; + }; }; #include "CfgEventHandlers.hpp" @@ -20,7 +20,6 @@ class CfgPatches { #include "CfgVehicles.hpp" class ACE_Parameters_Boolean { - // Boolean Parameters (0/1) - GVAR(SavePreDeathGear) = 0; - GVAR(RemoveDeadBodiesDisonncected) = 1; + GVAR(SavePreDeathGear) = 0; + GVAR(RemoveDeadBodiesDisonncected) = 1; }; diff --git a/addons/respawn/functions/fnc_canMoveRallypoint.sqf b/addons/respawn/functions/fnc_canMoveRallypoint.sqf index 67a0ea859e..e6f91a256f 100644 --- a/addons/respawn/functions/fnc_canMoveRallypoint.sqf +++ b/addons/respawn/functions/fnc_canMoveRallypoint.sqf @@ -26,8 +26,8 @@ _side = _this select 1; _unit getVariable ["ACE_canMoveRallypoint"), false] && {!isNull ([ - objNull, - missionNamespace getVariable ["ACE_Rallypoint_West", objNull], - missionNamespace getVariable ["ACE_Rallypoint_East", objNull], - missionNamespace getVariable ["ACE_Rallypoint_Independent", objNull] + objNull, + missionNamespace getVariable ["ACE_Rallypoint_West", objNull], + missionNamespace getVariable ["ACE_Rallypoint_East", objNull], + missionNamespace getVariable ["ACE_Rallypoint_Independent", objNull] ] select ([west, east, independent] find _side) + 1)} diff --git a/addons/respawn/functions/fnc_getAllGear.sqf b/addons/respawn/functions/fnc_getAllGear.sqf index d9f3e16b70..ad9f3dbb68 100644 --- a/addons/respawn/functions/fnc_getAllGear.sqf +++ b/addons/respawn/functions/fnc_getAllGear.sqf @@ -21,25 +21,25 @@ private ["_unit", "_allGear"]; _unit = _this select 0; _allGear = [ - (headgear _unit), - (goggles _unit), - (uniform _unit), - (uniformItems _unit), - (vest _unit), - (vestItems _unit), - (backpack _unit), - (backpackItems _unit), - (primaryWeapon _unit), - (primaryWeaponItems _unit), - (primaryWeaponMagazine _unit), - (secondaryWeapon _unit), - (secondaryWeaponItems _unit), - (secondaryWeaponMagazine _unit), - (handgunWeapon _unit), - (handgunItems _unit), - (handgunMagazine _unit), - (assignedItems _unit), - (binocular _unit) + (headgear _unit), + (goggles _unit), + (uniform _unit), + (uniformItems _unit), + (vest _unit), + (vestItems _unit), + (backpack _unit), + (backpackItems _unit), + (primaryWeapon _unit), + (primaryWeaponItems _unit), + (primaryWeaponMagazine _unit), + (secondaryWeapon _unit), + (secondaryWeaponItems _unit), + (secondaryWeaponMagazine _unit), + (handgunWeapon _unit), + (handgunItems _unit), + (handgunMagazine _unit), + (assignedItems _unit), + (binocular _unit) ]; _allGear diff --git a/addons/respawn/functions/fnc_handleKilled.sqf b/addons/respawn/functions/fnc_handleKilled.sqf index 7c6bffcceb..b64a5465fb 100644 --- a/addons/respawn/functions/fnc_handleKilled.sqf +++ b/addons/respawn/functions/fnc_handleKilled.sqf @@ -25,9 +25,9 @@ _killedUnit = _this select 0; GVAR(unitGear) = []; if (GVAR(SavePreDeathGear)) then { - GVAR(unitGear) = [_killedUnit] call FUNC(getAllGear); + GVAR(unitGear) = [_killedUnit] call FUNC(getAllGear); }; if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then { - [_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core, execRemoteFnc); + [_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core,execRemoteFnc); }; diff --git a/addons/respawn/functions/fnc_handleRespawn.sqf b/addons/respawn/functions/fnc_handleRespawn.sqf index 9157576fb4..a9fe3293ac 100644 --- a/addons/respawn/functions/fnc_handleRespawn.sqf +++ b/addons/respawn/functions/fnc_handleRespawn.sqf @@ -23,5 +23,5 @@ _respawnedUnit = _this select 0; // Restores the gear when the player respawns if (GVAR(SavePreDeathGear)) then { - [_respawnedUnit, GVAR(unitGear)] call FUNC(restoreGear); + [_respawnedUnit, GVAR(unitGear)] call FUNC(restoreGear); }; diff --git a/addons/respawn/functions/fnc_initRallypoint.sqf b/addons/respawn/functions/fnc_initRallypoint.sqf index 295c9b00ff..cb4d55146f 100644 --- a/addons/respawn/functions/fnc_initRallypoint.sqf +++ b/addons/respawn/functions/fnc_initRallypoint.sqf @@ -25,9 +25,9 @@ if (!local _rallypoint) exitWith {}; _name = typeOf _rallypoint; if (isNil _name) then { - missionNamespace setVariable [_name, _rallypoint]; - publicVariable _name; + missionNamespace setVariable [_name, _rallypoint]; + publicVariable _name; } else { - deleteVehicle _rallypoint; - diag_log text "[ACE] Respawn: ERROR Multiple Rallypoints of same type."; + deleteVehicle _rallypoint; + diag_log text "[ACE] Respawn: ERROR Multiple Rallypoints of same type."; }; diff --git a/addons/respawn/functions/fnc_module.sqf b/addons/respawn/functions/fnc_module.sqf index f7d1277d72..28cb68e889 100644 --- a/addons/respawn/functions/fnc_module.sqf +++ b/addons/respawn/functions/fnc_module.sqf @@ -27,26 +27,26 @@ if !(_activated) exitWith {}; GVAR(Module) = true; -[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core, readBooleanParameterFromModule); -[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core, readBooleanParameterFromModule); +[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core,readBooleanParameterFromModule); +[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core,readBooleanParameterFromModule); if (isServer) then { - if (GVAR(RemoveDeadBodiesDisonncected)) then { - _fnc_deleteDisconnected = { - _this spawn { - _unit = _this select 0; + if (GVAR(RemoveDeadBodiesDisonncected)) then { + _fnc_deleteDisconnected = { + _this spawn { + _unit = _this select 0; - sleep 4; + sleep 4; - if (!alive _unit) then { - deleteVehicle _unit; + if (!alive _unit) then { + deleteVehicle _unit; + }; + }; + false }; - }; - false - }; - addMissionEventHandler ["HandleDisconnect", _fnc_deleteDisconnected]; - }; + addMissionEventHandler ["HandleDisconnect", _fnc_deleteDisconnected]; + }; }; diag_log text "[ACE]: Respawn Module Initialized."; diff --git a/addons/respawn/functions/fnc_moduleFriendlyFire.sqf b/addons/respawn/functions/fnc_moduleFriendlyFire.sqf index a7d6ca7e72..35857b43e4 100644 --- a/addons/respawn/functions/fnc_moduleFriendlyFire.sqf +++ b/addons/respawn/functions/fnc_moduleFriendlyFire.sqf @@ -19,18 +19,18 @@ #include "script_component.hpp" _this spawn { - _logic = _this select 0; - _units = _this select 1; - _activated = _this select 2; + _logic = _this select 0; + _units = _this select 1; + _activated = _this select 2; - if !(_activated) exitWith {}; + if !(_activated) exitWith {}; - if (isServer) then { - _varName = QGVAR(showFriendlyFireMessage); + if (isServer) then { + _varName = QGVAR(showFriendlyFireMessage); - missionNamespace setVariable [_varName, true]; - publicVariable _varName; - }; + missionNamespace setVariable [_varName, true]; + publicVariable _varName; + }; - diag_log text "[ACE]: Friendly Fire Messages Module Initialized."; + diag_log text "[ACE]: Friendly Fire Messages Module Initialized."; }; diff --git a/addons/respawn/functions/fnc_moduleRallypoint.sqf b/addons/respawn/functions/fnc_moduleRallypoint.sqf index 8ec9efbd09..1646fa72da 100644 --- a/addons/respawn/functions/fnc_moduleRallypoint.sqf +++ b/addons/respawn/functions/fnc_moduleRallypoint.sqf @@ -25,7 +25,7 @@ _activated = _this select 2; if !(_activated) exitWith {}; { - _x setVariable ["ACE_canMoveRallypoint", true]; + _x setVariable ["ACE_canMoveRallypoint", true]; } forEach _units; diag_log text "[ACE]: Rallypoint Module Initialized."; diff --git a/addons/respawn/functions/fnc_moveRallypoint.sqf b/addons/respawn/functions/fnc_moveRallypoint.sqf index 427668bfd0..788031fcf3 100644 --- a/addons/respawn/functions/fnc_moveRallypoint.sqf +++ b/addons/respawn/functions/fnc_moveRallypoint.sqf @@ -18,37 +18,37 @@ #include "script_component.hpp" _this spawn { - _unit = _this select 0; - _side = _this select 1; + _unit = _this select 0; + _side = _this select 1; - // rallypoint names are defined in CfgVehicles.hpp - - _rallypoint = [ - objNull, - missionNamespace getVariable ["ACE_Rallypoint_West", objNull], - missionNamespace getVariable ["ACE_RallypointExit_East", objNull], - missionNamespace getVariable ["ACE_RallypointExit_Independent", objNull] - ] select ([west, east, independent] find _side) + 1; + // rallypoint names are defined in CfgVehicles.hpp - if (isNull _rallypoint) exitWith {}; + _rallypoint = [ + objNull, + missionNamespace getVariable ["ACE_Rallypoint_West", objNull], + missionNamespace getVariable ["ACE_RallypointExit_East", objNull], + missionNamespace getVariable ["ACE_RallypointExit_Independent", objNull] + ] select ([west, east, independent] find _side) + 1; - _position = getPosATL _unit; - _position = _position findEmptyPosition [0, 2, typeOf _rallypoint]; - if (count _position == 0) then {_position = getPosATL _unit}; + if (isNull _rallypoint) exitWith {}; - _position set [2, 0]; + _position = getPosATL _unit; + _position = _position findEmptyPosition [0, 2, typeOf _rallypoint]; + if (count _position == 0) then {_position = getPosATL _unit}; - [localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core, displayTextStructured); + _position set [2, 0]; - sleep 5; - _rallypoint setPosATL _position; - _unit reveal _rallypoint; + [localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core,displayTextStructured); - /* - _marker = format ["AGM_RallyPoint_%1", _side]; - _marker setMarkerPos _position; - _marker setMarkerTextLocal format ["%1:%2", [date select 3, 2, 0] call CBA_fnc_FORMATNumber, [date select 4, 2, 0] call CBA_fnc_FORMATNumber]; - */ + sleep 5; + _rallypoint setPosATL _position; + _unit reveal _rallypoint; - [localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core, displayTextStructured); + /* + _marker = format ["AGM_RallyPoint_%1", _side]; + _marker setMarkerPos _position; + _marker setMarkerTextLocal format ["%1:%2", [date select 3, 2, 0] call CBA_fnc_FORMATNumber, [date select 4, 2, 0] call CBA_fnc_FORMATNumber]; + */ + + [localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core,displayTextStructured); }; diff --git a/addons/respawn/functions/fnc_removeBody.sqf b/addons/respawn/functions/fnc_removeBody.sqf index 80f0b314f0..5c3ed14988 100644 --- a/addons/respawn/functions/fnc_removeBody.sqf +++ b/addons/respawn/functions/fnc_removeBody.sqf @@ -30,8 +30,8 @@ if (_forceRemove) then { }; [_body, _bodyRemoveTimer] spawn { - sleep (_this select 1); - // hideBody takes ~20s till body is fully underground - // a better hideBody would make this more aesthetic - deleteVehicle (_this select 0); + sleep (_this select 1); + // hideBody takes ~20s till body is fully underground + // a better hideBody would make this more aesthetic + deleteVehicle (_this select 0); }; diff --git a/addons/respawn/functions/fnc_removeDisconnectedPlayer.sqf b/addons/respawn/functions/fnc_removeDisconnectedPlayer.sqf index a700e5c257..492cd990a4 100644 --- a/addons/respawn/functions/fnc_removeDisconnectedPlayer.sqf +++ b/addons/respawn/functions/fnc_removeDisconnectedPlayer.sqf @@ -21,11 +21,11 @@ private ["_forceRemove", "_body"]; _forceRemove = _this select 0; { - if (getPlayerUID _x == _uid) exitWith { - _body = _x; - }; + if (getPlayerUID _x == _uid) exitWith { + _body = _x; + }; } forEach playableUnits; if (!isNil "_body" && {!alive _body}) then { - [_body, _forceRemove] call FUNC(removeBody); + [_body, _forceRemove] call FUNC(removeBody); }; diff --git a/addons/respawn/functions/fnc_restoreGear.sqf b/addons/respawn/functions/fnc_restoreGear.sqf index d6b3062011..18afba344b 100644 --- a/addons/respawn/functions/fnc_restoreGear.sqf +++ b/addons/respawn/functions/fnc_restoreGear.sqf @@ -56,85 +56,85 @@ _binocular = _allGear select 18; // start restoring the items if (_headgear != "") then { - _unit addHeadgear _headgear; + _unit addHeadgear _headgear; }; if (_uniform != "") then { - _unit forceAddUniform _uniform; + _unit forceAddUniform _uniform; }; if (_vest != "") then { - _unit addVest _vest; + _unit addVest _vest; }; if (_goggles != "") then { - _unit addGoggles _goggles; + _unit addGoggles _goggles; }; { - _unit addItemToUniform _x; + _unit addItemToUniform _x; }forEach _uniformitems; { - _unit addItemToVest _x; + _unit addItemToVest _x; }forEach _vestitems; if(format["%1", _backpack] != "") then { - _unit addBackpack _backpack; + _unit addBackpack _backpack; - _backpa = unitBackpack _unit; - clearMagazineCargoGlobal _backpa; - clearWeaponCargoGlobal _backpa; - clearItemCargoGlobal _backpa; - { - _unit addItemToBackpack _x; - } forEach _backpackitems; + _backpa = unitBackpack _unit; + clearMagazineCargoGlobal _backpa; + clearWeaponCargoGlobal _backpa; + clearItemCargoGlobal _backpa; + { + _unit addItemToBackpack _x; + } forEach _backpackitems; }; // primaryWeapon if (_primaryweapon != "") then { - { - _unit addMagazine _x; - } forEach _primaryweaponmagazine; + { + _unit addMagazine _x; + } forEach _primaryweaponmagazine; - _unit addWeapon _primaryweapon; + _unit addWeapon _primaryweapon; - { - if (_x != "") then { - _unit addPrimaryWeaponItem _x; - }; - } forEach _primaryweaponitems; + { + if (_x != "") then { + _unit addPrimaryWeaponItem _x; + }; + } forEach _primaryweaponitems; }; // secondaryWeapon if (_secondaryweapon != "") then { - { - _unit addMagazine _x; - } forEach _secondaryweaponmagazine; + { + _unit addMagazine _x; + } forEach _secondaryweaponmagazine; - _unit addWeapon _secondaryweapon; + _unit addWeapon _secondaryweapon; - { - if (_x != "") then { - _unit addSecondaryWeaponItem _x; - }; - } forEach _secondaryweaponitems; + { + if (_x != "") then { + _unit addSecondaryWeaponItem _x; + }; + } forEach _secondaryweaponitems; }; // handgun if (_handgunweapon != "") then { - { - _unit addMagazine _x; - } forEach _handgunweaponmagazine; + { + _unit addMagazine _x; + } forEach _handgunweaponmagazine; - _unit addWeapon _handgunweapon; + _unit addWeapon _handgunweapon; - { - if (_x != "") then { - _unit addHandgunItem _x; - }; - } forEach _handgunweaponitems; + { + if (_x != "") then { + _unit addHandgunItem _x; + }; + } forEach _handgunweaponitems; }; @@ -146,6 +146,6 @@ _assignedItems = _assignedItems - [_binocular]; _unit addWeapon _binocular; if ("Laserdesignator" in assignedItems _unit) then { - _unit selectWeapon "Laserdesignator"; - if (currentMagazine _unit == "") then {_unit addMagazine "Laserbatteries";}; + _unit selectWeapon "Laserdesignator"; + if (currentMagazine _unit == "") then {_unit addMagazine "Laserbatteries";}; }; diff --git a/addons/respawn/functions/fnc_showFriendlyFireMessage.sqf b/addons/respawn/functions/fnc_showFriendlyFireMessage.sqf index 94d30628e4..145792feff 100644 --- a/addons/respawn/functions/fnc_showFriendlyFireMessage.sqf +++ b/addons/respawn/functions/fnc_showFriendlyFireMessage.sqf @@ -23,7 +23,7 @@ _unit = _this select 0; _killer = _this select 1; if (_unit != _killer && side group _unit in [side group ACE_player, civilian] && {side group _killer == side group ACE_player}) then { - systemChat format ["%1 was killed by %2", [_unit] call EFUNC(Core, getName), [_killer] call EFUNC(Core, getName)]; + systemChat format ["%1 was killed by %2", [_unit] call EFUNC(Core,getName), [_killer] call EFUNC(Core,getName)]; - [_unit, "killedByFriendly", [_unit, _killer]] call EFUNC(Core, callCustomEventHandlers); + [_unit, "killedByFriendly", [_unit, _killer]] call EFUNC(Core,callCustomEventHandlers); }; diff --git a/addons/respawn/functions/fnc_teleportToRallypoint.sqf b/addons/respawn/functions/fnc_teleportToRallypoint.sqf index cc2a727271..0bb262239a 100644 --- a/addons/respawn/functions/fnc_teleportToRallypoint.sqf +++ b/addons/respawn/functions/fnc_teleportToRallypoint.sqf @@ -27,18 +27,18 @@ _toBase = _this select 2; // rallypoint names are defined in CfgVehicles.hpp _rallypoint = ([ - [ - objNull, - missionNamespace getVariable ["ACE_RallypointExit_West", objNull], - missionNamespace getVariable ["ACE_RallypointExit_East", objNull], - missionNamespace getVariable ["ACE_RallypointExit_Independent", objNull] - ], - [ - objNull, - missionNamespace getVariable ["ACE_Rallypoint_West", objNull], - missionNamespace getVariable ["ACE_Rallypoint_East", objNull], - missionNamespace getVariable ["ACE_Rallypoint_Independent", objNull] - ] + [ + objNull, + missionNamespace getVariable ["ACE_RallypointExit_West", objNull], + missionNamespace getVariable ["ACE_RallypointExit_East", objNull], + missionNamespace getVariable ["ACE_RallypointExit_Independent", objNull] + ], + [ + objNull, + missionNamespace getVariable ["ACE_Rallypoint_West", objNull], + missionNamespace getVariable ["ACE_Rallypoint_East", objNull], + missionNamespace getVariable ["ACE_Rallypoint_Independent", objNull] + ] ] select _toBase) select ([west, east, independent] find _side) + 1; if (isNull _rallypoint) exitWith {}; diff --git a/addons/respawn/functions/script_component.hpp b/addons/respawn/functions/script_component.hpp new file mode 100644 index 0000000000..eeb32a47bd --- /dev/null +++ b/addons/respawn/functions/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\respawn\script_component.hpp" \ No newline at end of file