Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

RaceTimer

Defined in: client/api.d.ts:5198

A race’s clock as the game keeps it: the time and penalty its HUD and results show.

gate: number

Defined in: client/api.d.ts:5217

Index of the race’s current ring, from 0. -1 before the first is up; the gate count once the last is passed.


penalty: number

Defined in: client/api.d.ts:5207

Seconds added for missed rings so far, penaltySeconds each. Time trials only.


time: number

Defined in: client/api.d.ts:5202

Race time in seconds, to the millisecond. Game frame time while the race runs, so a pause stops it. Time trials only: 0 in a ring-sequence race.


total: number

Defined in: client/api.d.ts:5212

time + penalty: the time the game ranks and compares with the best.