JStreamer 3.0 released
A total rewrite that vastly improves performance as well as fixes a crap load of bugs brought with JStreamer 2.0.
onElementStartSync(Check if vehicle)
onElementStopSync (Check if vehicle)
OnElementDestroy (Check if vehicle)
In all of these you use
if getElementType(source) == 'vehicle' then
-- Source = vehicle