Add vehicle ID to animation state send.

This commit is contained in:
jaynus 2015-05-12 10:30:14 -07:00
parent 30c84efe61
commit 1c7a06c69a

View File

@ -33,7 +33,7 @@ TRACE_1("Returning", _animationResults);
if(_sendToExtension) then { if(_sendToExtension) then {
private["_cmd"]; 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)]; _cmd = _cmd + format["%1,%2,", (_x select 0), ([(_x select 1)] call CBA_fnc_formatNumber)];
} forEach _animationResults; } forEach _animationResults;