GetNumberOfReferencesOfScriptWithNameHash — FiveM Natives
0x2C83A9DA6BFFC4F9 · SCRIPT · all
`` 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; ``
Parameters
| Name | Type |
|---|---|
| scriptHash | Hash |
Returns
int