Update server_playerSync.sqf

With str(_currentModel) it adds quotes in the database so it becomes : "GUE_Soldier_CO_DZ"  breaking the skin. Either comment that line or set to to what i did :)
This commit is contained in:
Sandbird
2014-05-14 16:24:30 +03:00
parent af86c90bff
commit 55d49c279b

View File

@@ -139,7 +139,7 @@ if (_characterID != "0") then {
if (_currentModel == _modelChk) then { if (_currentModel == _modelChk) then {
_currentModel = ""; _currentModel = "";
} else { } else {
_currentModel = str(_currentModel); _currentModel = _currentModel;
_character setVariable ["model_CHK",typeOf _character]; _character setVariable ["model_CHK",typeOf _character];
}; };
@@ -214,4 +214,4 @@ if (_characterID != "0") then {
_character setVariable ["lastTime",(time - _timeLeft)]; _character setVariable ["lastTime",(time - _timeLeft)];
}; };
}; };
}; };