Gameplay::getFrameCount

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Returns the number of frames

Return value

  • number

Syntax

mp.game.gameplay.getFrameCount();

Example

const frameCount = mp.game.gameplay.getFrameCount();
mp.console.logInfo(`Your FPS is ${frameCount}`);


See also