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
Nick Thissen wrote:
You can count the number of classes in the session via the sim object:
var numClasses = sim.Session.ClassManager.Classes.Count;


Then simply check if numClasses > 1 (multiclass) or not (single class).

Ok with that, I get the number of classes and I use it.

But if I want to check this car is in the first class, nomaly I have to check Classes[0] , yes ?

Something like If (Classes[0] == true) ?