mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
@@ -3,7 +3,6 @@ private ["_characterID","_temp","_currentWpn","_magazines","_force","_isNewPos",
|
|||||||
|
|
||||||
_character = _this select 0;
|
_character = _this select 0;
|
||||||
_magazines = _this select 1;
|
_magazines = _this select 1;
|
||||||
_Achievements = _character getVariable "Achievements";
|
|
||||||
_characterID = _character getVariable ["characterID","0"];
|
_characterID = _character getVariable ["characterID","0"];
|
||||||
_force = true;
|
_force = true;
|
||||||
_charPos = getPosATL _character;
|
_charPos = getPosATL _character;
|
||||||
@@ -24,10 +23,7 @@ if (_characterID == "0") exitWith {
|
|||||||
diag_log ("ERROR: Cannot Sync Character " + _name + " as no characterID");
|
diag_log ("ERROR: Cannot Sync Character " + _name + " as no characterID");
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isNil {_Achievements}) exitWith {
|
_Achievements = [];
|
||||||
diag_log ("ERROR: Cannot Sync Achievements " + _name + " has no default Achievements");
|
|
||||||
_Achievements = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
//No longer used
|
//No longer used
|
||||||
|
|||||||
Reference in New Issue
Block a user