Allowdamage after porting

This commit is contained in:
He-Man 2018-03-19 16:57:46 +01:00
parent ec192de482
commit d2b92db808

View File

@ -349,9 +349,6 @@ if (!isNull _player) then {
_communityStats = (_communityStatsArray param [1,[]]) param [0,[]]; _communityStats = (_communityStatsArray param [1,[]]) param [0,[]];
_newPlyr setVariable["COMMUNITY_STATS", _communityStats]; _newPlyr setVariable["COMMUNITY_STATS", _communityStats];
// re enable damage server side
_newPlyr allowDamage true;
// Flag new body as ready for use. // Flag new body as ready for use.
_newPlyr setVariable["SETUP", true, true]; _newPlyr setVariable["SETUP", true, true];
@ -366,6 +363,9 @@ if (!isNull _player) then {
_newPlyr setVariable ['#rev_enabled', true, true]; _newPlyr setVariable ['#rev_enabled', true, true];
// [] remoteExec ["bis_fnc_reviveInit",_player]; // [] remoteExec ["bis_fnc_reviveInit",_player];
// re enable damage server side
_newPlyr allowDamage true;
// new Dynamicsimulation // new Dynamicsimulation
if([configFile >> "CfgEpochServer", "playerDynamicSimulationSystem", true] call EPOCH_fnc_returnConfigEntry)then if([configFile >> "CfgEpochServer", "playerDynamicSimulationSystem", true] call EPOCH_fnc_returnConfigEntry)then
{ {