fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Client / Game / getFPS

Function: getFPS()

getFPS(): number

Calculates and returns the current frames per second (FPS).

Returns

number

The current FPS, calculated as the reciprocal of the time taken for the last frame.

Defined in

client/Game.ts:73