Vehicle[] allvehicles = World.GetAllVehicles();

try that?

2 Likes