MiscClient

uiStartedEndUserBenchmark

UI_STARTED_END_USER_BENCHMARK0xEA2F2061875EED90

The GTA V native UI_STARTED_END_USER_BENCHMARK of the MISC namespace, as LS:MP client scripts call it: the global function uiStartedEndUserBenchmark, in JavaScript and in Lua.

SignatureJavaScript
uiStartedEndUserBenchmark(): boolean
SignatureLua
uiStartedEndUserBenchmark(): boolean

Usage

JavaScript
const result = uiStartedEndUserBenchmark();
Lua
local result = uiStartedEndUserBenchmark()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns true if the current frontend menu is FE_MENU_VERSION_SP_PAUSE

Reference

Namespace
Misc MISC
In the game
BOOL UI_STARTED_END_USER_BENCHMARK()
Hash
0xEA2F2061875EED90
Formerly
_UI_IS_SINGLEPLAYER_PAUSE_MENU_ACTIVE

Open in the interactive natives reference