Vehicle/gear disappearing after I installed Mission

Petite

Member
Well before I installed the EMS everything was working good but since 2 days vehicle are returning to trader, safe empty of gear I don,t know whats wrong. I looked at the RPT and it give an error

_object_position = getPosATL _obje>
19:36:24 Error Missing ;
19:36:24 File z\addons\dayz_server\compile\server_updateObject.sqf, line 34
19:36:39 Error in expression < _object getVariable ["Sarge",0] != 1)) the
{


This is my server_updateObject

if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
//force fail
_objectID = "0";
_uid = "0";
};

if (_object getVariable "Sarge" == 1) exitWith {};


if (!_parachuteWest and !(locked _object)) then {
if (_objectID == "0" && _uid == "0") then
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) the
{
_object_position = getPosATL _object;
_isNotOk = false;
};
};

// do not update if buildable and not ok
if (_isNotOk and _isbuildable) exitWith { };



Somebody can help me with that I'm completely lost there.

Thanks
 
Change this line back to default.
Code:
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) the
{
 
It didn't work, vehicle return to trader and safe get empty.


Edit; It works now, for some reason the line was still there even if I deleted. o_O

Thanks you Sir :)
 
Last edited:
Back
Top