diff --git a/addons/vehicledamage/functions/fnc_getAnimationStates.sqf b/addons/vehicledamage/functions/fnc_getAnimationStates.sqf index 8c64fcca4e..15f22510b1 100644 --- a/addons/vehicledamage/functions/fnc_getAnimationStates.sqf +++ b/addons/vehicledamage/functions/fnc_getAnimationStates.sqf @@ -33,7 +33,7 @@ TRACE_1("Returning", _animationResults); if(_sendToExtension) then { private["_cmd"]; - _cmd = "set_animation_state:"; + _cmd = format["set_animation_state:%1,", (_vehicle getVariable[QGVAR(id), -1])]; { _cmd = _cmd + format["%1,%2,", (_x select 0), ([(_x select 1)] call CBA_fnc_formatNumber)]; } forEach _animationResults;