Перейти к содержанию

Gameplay::getGameTimer — история изменений

Выбор версий: отметьте версии страницы, которые вы хотите сравнить, и нажмите Enter или кнопку ниже.
Пояснения: (текущ.) — отличия от текущей версии; (пред.) — отличия от предыдущей версии; м — малые изменения.

29 апреля 2024

  • текущ.пред. 09:5009:50, 29 апреля 2024 imported>Shr0x 526 байт +526 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets the current game timer in ms (game time starts when the game begins). ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getGameTimer(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const gameTime = mp.game.gameplay.getGameTimer(); mp.console.logInfo(`Game time is ${gameTime}`); </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}} C..."