Gameplay::getFrameTime: 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 09:5209:52, 29 April 2024Shr0x talk contribs 488 bytes +488 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the time since the last frame ===Return value=== *''' {{RageType|float}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getFrameTime(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const frameTime = mp.game.gameplay.getFrameTime(); mp.console.logInfo(`Frame time is ${frameTime}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} Category:Clientside API Category:TO..."