PROFILER_IS_RECORDING
Returns true if the profiler is active.
Signature
BOOL PROFILER_IS_RECORDING();Returns BOOL — True or false.
Description
Returns true if the profiler is active.
Usage
local retval = ProfilerIsRecording()
-- always works, by hash
local retval = Citizen.InvokeNative(0xf8b7d7bb, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = ProfilerIsRecording();
// by hash
const retval = Citizen.invokeNative('0xf8b7d7bb', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xf8b7d7bb);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.