getBenchmarkPass
GET_BENCHMARK_PASS0x1B2366C3F2A5C8DFThe GTA V native GET_BENCHMARK_PASS of the MISC namespace, as LS:MP client scripts call it: the global function getBenchmarkPass, in JavaScript and in Lua.
getBenchmarkPass(): numbergetBenchmarkPass(): integerUsage
JavaScript
const result = getBenchmarkPass();Lua
local result = getBenchmarkPass()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns value of the '-benchmarkPass' command line option.
Reference
- Namespace
- Misc MISC
- In the game
int GET_BENCHMARK_PASS()- Hash
0x1B2366C3F2A5C8DF- Formerly
_GET_BENCHMARK_PASS_FROM_COMMAND_LINE