Simple stopwatch resource.
Displays minutes, seconds, and hundredths of seconds.
Press F9 to start, press F9 to stop.
When you stop, it will reset the timer and put the time in your chat.
(only the time in the center and the “stopwatch:” lines in chat are this resource)
well, this timer is kinda useless because it uses Citizen.Wait(1)
which does not wait a millisecond butinstead a frame. how much frames you have per second depends on the hardware and settings. so the timer will go alot faster for someone with high fps than for someone with low fps.
instead, you could make a nui resource and do a function based on javascript and timestamps.