Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
You were almost there; you can check if the Movement.TrackLocation equals OffTrack:
if (result.Entity.Car.Movement.TrackLocation == TrackLocation.OffTrack)


Note that this value is predicted by iRacing netcode so it is not super accurate.