mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 09:30:49 +03:00
Hide body changes
Remove the PVCDZ_obj_HideBody eventhandler. Players next to a hided animal see the hiding process too and after 10s the body will be deleted anyways. So there is no need to send a publicVariableServer first then back to all near clients if the body gets deleted within 10s. Also updates the normal hide body. The hided player model gets deleted by the server now.
This commit is contained in:
@@ -61,11 +61,6 @@ call {
|
||||
_owner publicVariableClient "PVCDZ_obj_GutBody";
|
||||
};
|
||||
|
||||
if (_variable == "HideBody") exitWith {
|
||||
PVCDZ_obj_HideBody = _arraytosend select 0;
|
||||
_owner publicVariableClient "PVCDZ_obj_HideBody";
|
||||
};
|
||||
|
||||
if (_variable == "Humanity") exitWith {
|
||||
PVCDZ_plr_Humanity = _arraytosend select 0;
|
||||
_owner publicVariableClient "PVCDZ_plr_Humanity";
|
||||
|
||||
Reference in New Issue
Block a user