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

Gameplay::getGameTimer

Материал из RAGE MP Wiki Archive
Версия от 09:50, 29 апреля 2024; imported>Shr0x (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...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)