Gameplay::startPerformanceTimer: 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.

27 December 2025

26 December 2025

  • curprev 23:5923:59, 26 December 2025Shr0x talk contribs 537 bytes +537 Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *None ===Return value=== *'''{{RageType|PerformanceTimer}}''' — A performance timer instance. ==Syntax== <syntaxhighlight lang="javascript"> mp.game.misc.startPerformanceTimer() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const timer = mp.game.misc.startPerformanceTimer(); // some heavy logic here mp.gui.chat.push(`Elapsed ms: ${timer.getElapsedMs()}`); </syntaxhighlight> }} ==S..."