
Lap Timer Script for any circuit.
Context
A week ago, I was looking for a mod or script to automatically time hot laps. The best one I found was Race Timer (https://www.gta5-mods.com/scripts/race-timer), but it’s broken… so I had no choice but to create my own script.
I tried to compile it but couldn’t.
Requirements
Script Hook V
ScriptHookVDotNet
Installation
1. Extract timer.cs into your scripts folder.
2. By default, it is set up for the Nurburgring Nordschleife circuit. To configure another circuit, simply modify the coordinates on line 9 with the finish line coordinates of another circuit or location you want to be the finish line. Do not remove the ‘f’.
On the next line, you can also adjust the tolerance, which defines the length of the finish line (I believe it’s not a line, but a circle or sphere).
Usage
To start timing laps, cross the circuit’s finish line, which, as mentioned before, corresponds to the coordinates on line 9 of the script. When you cross, a notification will appear indicating that the lap has started, and the elapsed time will be displayed as subtitles.
When you cross for the second time, another notification will appear indicating the lap has finished along with the time, and the next lap will start immediately. This will loop continuously.
To stop the timer and cancel the lap, press the “N” key, and the script will not activate again until you cross the finish line.
N: Cancel lap.
Tip
Notifications disappear quickly, but you can check the latest lap times in the Pause Menu > Brief > Notifications. I have a version that writes the lap times to a .txt file, which I’ll release if people request it.
Conclusion
That’s it. It’s a very basic script, I know, it’s the first one I’ve made for GTA 5, but I plan to improve it a bit more, like saving lap times and other data to a .txt file, supporting multiple circuits, and… well, I can’t think of anything else for now.
Changelog:
– v2.0 (30/12/2025): Added track search system and more charts in telemetry.
v1.2 (24/05/2025): Added python scripts to view telemetry and tracesi
v1.1 (25/02/2025)
– Added the possibility to change the colors of the elements of the telemetry.
– Added coordinate checker, when a trio of coordinates is incorrect a notification will be displayed.
– Added the next track:
Bathurst (Mount Panorama) from ON3FLY3R
v1.0 (24/02/2025)
– Added multicircuit, sectors in circuits, save time, telemetry, save telemetry.
– You can now create circuits from a .ini file and configure script elements.
v0.2
– Compiled. It cannot be modified once compiled so you can only run laps around the Nurburgring Nordschleife.
I hope the next version will also be compiled and you can create tracks from a .ini file
Credits:
Antthony_12




