{"hash":"0x7A1ADEEF01740A24","ns":"NETWORK","name":"NETWORK_GET_DESTROYER_OF_NETWORK_ID","slug":"NETWORK_GET_DESTROYER_OF_NETWORK_ID","official":true,"named":true,"luaName":"NetworkGetDestroyerOfNetworkId","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"netId","type":"int"},{"name":"weaponHash","type":"Hash*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x7A1ADEEF01740A24","gtaJhash":"0x4FCA6436","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_DESTROYER_OF_NETWORK_ID","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_DESTROYER_OF_NETWORK_ID.md","snippets":{"lua":"local retval, weaponHash = NetworkGetDestroyerOfNetworkId(netId, weaponHash)","luaInvoke":"local retval, weaponHash = Citizen.InvokeNative(0x7A1ADEEF01740A24, netId, Citizen.PointerValueIntInitialized(weaponHash), Citizen.ResultAsInteger())","js":"const [retval, weaponHash] = NetworkGetDestroyerOfNetworkId(netId, weaponHash);","jsInvoke":"const [retval, weaponHash] = Citizen.invokeNative('0x7A1ADEEF01740A24', netId, Citizen.pointerValueIntInitialized(weaponHash), Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var weaponHash = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x7A1ADEEF01740A24, netId, weaponHash);\n// weaponHash.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result."]}}