Gameplay::getFrameCount: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 April 2024

  • curprev 11:0911:09, 29 April 2024Shr0x talk contribs 458 bytes +458 Created page with "{{ClientsideJsFunction}} {{JSContainer| Returns the number of frames ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getFrameCount(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const frameCount = mp.game.gameplay.getFrameCount(); mp.console.logInfo(`Your FPS is ${frameCount}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API"