mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Area Maintenance
This commit is contained in:
@@ -54,6 +54,19 @@ if (isServer) then {
|
|||||||
"PVDZE_obj_Trade" addPublicVariableEventHandler {(_this select 1) spawn server_tradeObj};
|
"PVDZE_obj_Trade" addPublicVariableEventHandler {(_this select 1) spawn server_tradeObj};
|
||||||
"PVDZE_plr_TradeMenu" addPublicVariableEventHandler {(_this select 1) spawn server_traders};
|
"PVDZE_plr_TradeMenu" addPublicVariableEventHandler {(_this select 1) spawn server_traders};
|
||||||
"PVDZE_plr_DeathB" addPublicVariableEventHandler {(_this select 1) spawn server_deaths};
|
"PVDZE_plr_DeathB" addPublicVariableEventHandler {(_this select 1) spawn server_deaths};
|
||||||
|
|
||||||
|
|
||||||
|
//Area Maintenance
|
||||||
|
"maintainArea_log" addPublicVariableEventHandler {
|
||||||
|
_val = _this select 1;
|
||||||
|
_player = _val select 0;
|
||||||
|
_playerName = name _player;
|
||||||
|
_playerID = getPlayerUID _player;
|
||||||
|
_target = _val select 1;
|
||||||
|
_position = position _target;
|
||||||
|
_count = _val select 2;
|
||||||
|
diag_log format["MAINTAIN_AREA: Player %1 (%2) has maintained %3 building parts at position %4", _playerName, _playerID, _count, _position];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
//Client only
|
//Client only
|
||||||
@@ -70,4 +83,4 @@ if (!isDedicated) then {
|
|||||||
|
|
||||||
"norrnRaDrag" addPublicVariableEventHandler {(_this select 1) execVM "\z\addons\dayz_code\medical\publicEH\animDrag.sqf"};
|
"norrnRaDrag" addPublicVariableEventHandler {(_this select 1) execVM "\z\addons\dayz_code\medical\publicEH\animDrag.sqf"};
|
||||||
"norrnRnoAnim" addPublicVariableEventHandler {(_this select 1) execVM "\z\addons\dayz_code\medical\publicEH\noAnim.sqf"};
|
"norrnRnoAnim" addPublicVariableEventHandler {(_this select 1) execVM "\z\addons\dayz_code\medical\publicEH\noAnim.sqf"};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user