From Onset Developer Wiki
Called when a vehicle is no longer streamed for a player. The stream distance is set through your server_config.
The vehicle for the other player is streamed out.
The player that streams out for vehicle.
AddEvent("OnVehicleStreamOut", function(vehicle) AddPlayerChat("Vehicle ID " .. vehicle .. " just streamed out! There's now " .. #GetStreamedVehicles() .. " vehicles streamed for you!") end)