RACE TIMER II (SCRIPT)
Another racetimer, easier to handle in a complex game, ready for 4 cars. Returns 4 text strings with elapsed minutes, seconds and milliseconds in 00:00:000 format.
INSTALLATION
Download the plugin_RaceTimerScript.3dr file to the C:\3D Rad\3DRad_res\projects\ folder on your computer, launch 3D Rad, open your project and then select File->Merge from the pull-down menu.
REMARKS
The current script starts the timers when you press 1,2,3,4 keys. If you want to start them by another way - like race start - simply change the script logics to the following:
if (CurrLap1 == 1) {
car1 = true;
}
where CurrLap1 is the Racetracker's Lap internal parameter for Car1. Also, if you want to stop it, simply write something like this:
if (CurrLap1 > TotalLaps) {
car1 = false;
}
hope it helps!