mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove random unused faco code
This commit is contained in:
@@ -16,7 +16,6 @@ private ["_cursorTarget","_type","_class","_requiredTools","_requiredParts","_up
|
|||||||
"_ownerArray","_ownerPasscode","_dir","_vector","_object","_puid","_clanArray","_wh","_variables"];
|
"_ownerArray","_ownerPasscode","_dir","_vector","_object","_puid","_clanArray","_wh","_variables"];
|
||||||
|
|
||||||
//systemchat str _this;
|
//systemchat str _this;
|
||||||
if (!isnil "faco_object_upgradeBuilding") exitWith { _this call faco_object_upgradeBuilding };
|
|
||||||
|
|
||||||
_cursorTarget = _this select 3;
|
_cursorTarget = _this select 3;
|
||||||
// ArmaA2 bug workaround: sometimes the object is null
|
// ArmaA2 bug workaround: sometimes the object is null
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
|
|
||||||
private ["_item","_result","_dis","_sfx","_num","_breaking","_countOut","_findNearestTree","_objName","_counter","_isOk","_proceed","_animState","_started","_finished","_isMedic","_itemOut","_tree","_distance2d"];
|
private ["_item","_result","_dis","_sfx","_num","_breaking","_countOut","_findNearestTree","_objName","_counter","_isOk","_proceed","_animState","_started","_finished","_isMedic","_itemOut","_tree","_distance2d"];
|
||||||
|
|
||||||
//if (!isnil "faco_player_chopWood") exitWith { _this call faco_player_chopWood };
|
|
||||||
|
|
||||||
_item = _this;
|
_item = _this;
|
||||||
call gear_ui_init;
|
call gear_ui_init;
|
||||||
closeDialog 1;
|
closeDialog 1;
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
private ["_linecastmax","_linecastmin","_num","_position","_ispond","_objectsPond","_isPondNearBy","_isOk","_counter","_vehicle","_inVehicle",
|
private ["_linecastmax","_linecastmin","_num","_position","_ispond","_objectsPond","_isPondNearBy","_isOk","_counter","_vehicle","_inVehicle",
|
||||||
"_rnd","_itemOut","_text","_item","_itemtodrop","_result","_elevation","_inBoat","_i","_ret","_bb","_w2m","_dir"];
|
"_rnd","_itemOut","_text","_item","_itemtodrop","_result","_elevation","_inBoat","_i","_ret","_bb","_w2m","_dir"];
|
||||||
|
|
||||||
//if (!isNil "faco_goFishing") exitWith { _this call faco_goFishing };
|
|
||||||
|
|
||||||
_vehicle = _this select 3;
|
_vehicle = _this select 3;
|
||||||
_vehicle removeAction (_this select 2);
|
_vehicle removeAction (_this select 2);
|
||||||
s_player_fishing = -1;
|
s_player_fishing = -1;
|
||||||
|
|||||||
@@ -223,11 +223,6 @@ _playerObj setVariable ["humanity",_humanity,true];
|
|||||||
_playerObj setVariable ["humanity_CHK",_humanity];
|
_playerObj setVariable ["humanity_CHK",_humanity];
|
||||||
_playerObj setVariable ["lastPos",getPosATL _playerObj];
|
_playerObj setVariable ["lastPos",getPosATL _playerObj];
|
||||||
|
|
||||||
if (!isNil "faco_hook_playerSetup") then {
|
|
||||||
[_worldspace,_state,_playerObj,_characterID] call faco_hook_playerSetup;
|
|
||||||
_playerObj call faco_sendSecret;
|
|
||||||
};
|
|
||||||
|
|
||||||
PVCDZ_plr_Login2 = [_worldspace,_state];
|
PVCDZ_plr_Login2 = [_worldspace,_state];
|
||||||
_clientID = owner _playerObj;
|
_clientID = owner _playerObj;
|
||||||
_clientID publicVariableClient "PVCDZ_plr_Login2";
|
_clientID publicVariableClient "PVCDZ_plr_Login2";
|
||||||
|
|||||||
Reference in New Issue
Block a user