mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
Update scripts.txt exceptions
- Removed some unneeded exceptions - Moved tree chop PVEH to server compile only so client does not need setdamage exception - Replaced "showCommandingMenu" filter with stricter "menu" filter - Renamed two files with no changes for easier filtering of "menu" Vanilla commits:1d639b557b3a292425375cdf249ea9
This commit is contained in:
@@ -611,9 +611,9 @@ if (!isDedicated) then {
|
||||
dayz_originalPlayer = player;
|
||||
|
||||
// database trader menu
|
||||
if (!DZE_ConfigTrader) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuHive.sqf";};
|
||||
if (!DZE_ConfigTrader) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_hiveTrading.sqf";};
|
||||
// recent murders menu
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_murderMenu.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_murderBoard.sqf";
|
||||
};
|
||||
|
||||
//Both
|
||||
|
||||
@@ -158,21 +158,6 @@ if (isServer) then {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
"PVDZ_objgather_Knockdown" addPublicVariableEventHandler {
|
||||
_tree = (_this select 1) select 0;
|
||||
_player = (_this select 1) select 1;
|
||||
_dis = _player distance _tree;
|
||||
_name = if (alive _player) then {name _player} else {"DeadPlayer"};
|
||||
_uid = getPlayerUID _player;
|
||||
_treeModel = _tree call fn_getModelName;
|
||||
|
||||
if ((_dis < 30) && (_treeModel in dayz_trees) && (_uid != "")) then {
|
||||
_tree setDamage 1;
|
||||
dayz_choppedTrees set [count dayz_choppedTrees,_tree];
|
||||
diag_log format["Server setDamage on tree %1 chopped down by %2(%3)",_treeModel,_name,_uid];
|
||||
};
|
||||
};
|
||||
|
||||
"PVDZ_serverStoreVar" addPublicVariableEventHandler {
|
||||
_obj = (_this select 1) select 0;
|
||||
|
||||
Reference in New Issue
Block a user