Gameplay::getBenchmarkTime

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Gets the system time step since the last frame

Return value

  • float

Syntax

mp.game.gameplay.getBenchmarkTime();

Example

const benchmarkTime = mp.game.gameplay.getBenchmarkTime();
mp.console.logInfo(`Bench mark time is ${benchmarkTime}`)


See also