{"hash":"0x3658E8CD94FC121A","ns":"NETWORK","name":"NETWORK_GET_NUM_SCRIPT_PARTICIPANTS","slug":"NETWORK_GET_NUM_SCRIPT_PARTICIPANTS","official":true,"named":true,"luaName":"NetworkGetNumScriptParticipants","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"scriptName","type":"const char*"},{"name":"instanceId","type":"int"},{"name":"position","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x3658E8CD94FC121A","gtaJhash":"0x8F7D9F46","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_NUM_SCRIPT_PARTICIPANTS","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_NUM_SCRIPT_PARTICIPANTS.md","snippets":{"lua":"local retval = NetworkGetNumScriptParticipants(scriptName, instanceId, position)","luaInvoke":"local retval = Citizen.InvokeNative(0x3658E8CD94FC121A, scriptName, instanceId, position, Citizen.ResultAsInteger())","js":"const retval = NetworkGetNumScriptParticipants(scriptName, instanceId, position);","jsInvoke":"const retval = Citizen.invokeNative('0x3658E8CD94FC121A', scriptName, instanceId, position, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x3658E8CD94FC121A, scriptName, instanceId, position);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}