At the end of the code :
function destroyBlipsAttachedToSource()
local attached = getAttachedElements ( source )
if ( attached ) then
for k,element in ipairs(attached) do
if getElementType ( element ) == "blip" then
destroyElement ( element )
end
end
end
end
addEventHandler("onPlayerQuit",getRootElement(),destroyBlipsAttachedToSource)
function destroyBlipsAttachedTo()
local attached = getAttachedElements ( source )
if ( attached ) then
for k,element in ipairs(attached) do
if getElementType ( element ) == "blip" then
destroyElement ( element )
end
end
end
end
addEventHandler("onResourceStop",getRootElement(),destroyBlipsAttachedTo)
+ I don't see that 'Timed out' string on the debug !