Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if((typeOf(cursortarget) in allbuildables_class) && _canDo && !procBuild && !remProc && (_ownerID == dayz_playerUID)) then {
_code = _fuel * 1000;
_object setVariable ["Code", _code,true]>
17:14:08 Error position: <_object setVariable ["Code", _code,true]>
17:14:08 Error Undefined variable in expression: _object
17:14:08 File z\addons\dayz_server\system\server_monitor.sqf, line 248
17:14:08 "Spawned: "4106926405697" Base_WarfareBBarrier10x"
17:14:08 Error in expression < _damage;
No problem. I know from fixing this for somebody else, who was running Overwatch, that replacing those variables and editing the database is all that's required. Provided you did everything else all right haha.
_fuel = _this select 4;
_code = _this select 5;
_fuel = [];
_code = []; //added to pick up the code which we passed from player_build.sqf
if (count _this > 4) then {
_fuel = _this select 4;
if (count _fuel > 0) then {
_code = _this select 5;
};
};
};