Gameplay::getBenchmarkTime
Client-Side Function
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}`)