GET_BENCHMARK_PASS
Returns value of the '-benchmarkPass' command line option.
Hash
0x9297DACF3A2CDFF7Runtime name
GetBenchmarkPassNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1B2366C3F2A5C8DFSignature
int GET_BENCHMARK_PASS();Returns int
Description
Returns value of the '-benchmarkPass' command line option.
Old name: _GET_BENCHMARK_PASS_FROM_COMMAND_LINE
Usage
local retval = GetBenchmarkPass()
-- always works, by hash
local retval = Citizen.InvokeNative(0x9297DACF3A2CDFF7, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetBenchmarkPass();
// by hash
const retval = Citizen.invokeNative('0x9297DACF3A2CDFF7', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9297DACF3A2CDFF7);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.