isCommandlineEndUserBenchmark
IS_COMMANDLINE_END_USER_BENCHMARK0xA049A5BE0F04F2F8The GTA V native IS_COMMANDLINE_END_USER_BENCHMARK of the MISC namespace, as LS:MP client scripts call it: the global function isCommandlineEndUserBenchmark, in JavaScript and in Lua.
isCommandlineEndUserBenchmark(): booleanisCommandlineEndUserBenchmark(): booleanUsage
JavaScript
const result = isCommandlineEndUserBenchmark();Lua
local result = isCommandlineEndUserBenchmark()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if command line option '-benchmark' is set.
Reference
- Namespace
- Misc MISC
- In the game
BOOL IS_COMMANDLINE_END_USER_BENCHMARK()- Hash
0xA049A5BE0F04F2F8- Formerly
_IS_COMMAND_LINE_BENCHMARK_VALUE_SET