well first of all i would assume your game has a master script attached to something neutral other than the cars. if not, you will need one at somepoint before you finish.
so each cars individual script would say at the top above update something like this:
var mscript: level = cam.GetComponent(level);
mscript = cam.GetComponent(level);
obviosly each car should have a variable in its script to somehow know what car number it is.
set up an array in the masterscript to recieve car positions. if you know you always have eight car its as simple as this:
now that you have this set up, each car reports stuff into the array on the master script with this:
now if you’re still following me you should have a happy array of all the car positions neatly packed into one script to display or do whatever.
arrays are really cool and are very handy
there are many ways to do it but here is an example of pageing through the array to find your highest car!
keep in mind that if you have 8 cars. the first car is zero. your array is 0-7; there is not an 8. its best to name them all accordingly to keep things uniform in your project.
hope this all helps to get you thinking in the right direction. your masterscript could simply display the winning car number on screen or even all positions or whatever. that’s another question!