Changing Opacity or Transparency by Changing Value

I scripting Car. and now i scripting tire skid mark and tire smoke.
i wanted to make them Changing by tire slic. but changing transparency makes the whole emitted particles invisible.

have any solution?