GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH
Gets the number of instances of the specified script is currently running. Actually returns numRefs - 1. if (program) v3 = rage::scrProgram::GetNumRefs(program) - 1; return v3; Old name: _GET_NUMBER_OF_REFERENCES_OF_SCRIPT_WITH_NAME_HASH
SCRIPTSBuild 1207
Signature
lua
GetNumberOfThreadsRunningTheScriptWithThisHash(GetHashKey("..."))
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Hash | — |
Usage
lua
GetNumberOfThreadsRunningTheScriptWithThisHash(GetHashKey("..."))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
