PROFILER_ENTER_SCOPE
Scope entry for profiler.
Signature
void PROFILER_ENTER_SCOPE(char* scopeName);Parameters
| Name | Type | Description |
|---|---|---|
scopeName | char* | Scope name. |
Returns void
Description
Scope entry for profiler.
Usage
ProfilerEnterScope(scopeName)
-- always works, by hash
Citizen.InvokeNative(0xc795a4a9, scopeName)JavaScript and C#
ProfilerEnterScope(scopeName);
// by hash
Citizen.invokeNative('0xc795a4a9', scopeName);Function.Call((Hash)0xc795a4a9, scopeName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.