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 Emmanuel S
on
I made a test and place control OUT in bottum of the list check in my script, and now if a driver is OUT it show me PITS !!
if (result == null && type == SessionType.Race)
return "";

if (result.Entity?.Car?.Movement?.IsInPits == true && type == SessionType.Race)
return "PITS";

if (result.DidNotStart && type == SessionType.Race)
return "DNS";


if (result.Finished && type == SessionType.Race)
return "FINISH";


if (result.Out && type == SessionType.Race)
return "OUT";