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