Posts: 15,941
Threads: 0
Joined: Jun 2008
VIM is basically an optimisation. If you call multiple data functions for one vehicle, convert it to VIM first and use that. The other versions call "clamp" or "GetVehicleModel" internally, so would involve multiple identical calls instead of just one as in the example you posted.
Posts: 314
Threads: 103
Joined: Jun 2014
Nice
Posts: 15,941
Threads: 0
Joined: Jun 2008
I've finally added this to the YSI.tl repository, and updated it with some minor improvements - mostly cosmetic code changes, but one small optimisation.