SCRIPT

GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH

0x2C83A9DA6BFFC4F9 Jenkins: 0x029D3841

Signature

// SCRIPT
int GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(Hash scriptHash)

Parameters

Type Name
Hash scriptHash

Return type int

Build 323

Former names

  • _GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT
  • _GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH
  • _GET_NUMBER_OF_REFERENCES_OF_SCRIPT_WITH_NAME_HASH

Documentation

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;

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.