Ersetze:
Code:
if (_hasname) then
{_unit setVehicleInit format ["%1 = this; this setVehicleVarName ""%1""",_unitname];
processInitCommands;};
...mit:
Code:
if (_hasname) then {
_unit setVehicleVarName _unitname;
_unit call compile format ["%1=_this ; publicVariable '%1'",_unitname];
};