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:
AirwavesMan
2020-11-19 15:10:10 +01:00
parent 72650aa7ca
commit 86d52c907d
5 changed files with 11 additions and 33 deletions

View File

@@ -307,11 +307,7 @@ if (!isNull _cursorTarget && {!_inVehicle && !_isPZombie && _canDo && player dis
player removeAction s_player_fillfuel5;
s_player_fillfuel5 = -1;
};
/*
Vanilla generator is currently not functional.
Vanilla generator refuel actions removed for now.
Epoch generator fill action is below.
*/
//Allow player to siphon vehicles
if (_hasEmptyFuelCan && !_isBicycle && {fuel _cursorTarget > 0}) then {
if (s_player_siphonfuel < 0) then {