{"hash":"0x42B2DAA6B596F5F8","ns":"NETWORK","name":"NETWORK_GET_ENTITY_KILLER_OF_PLAYER","slug":"NETWORK_GET_ENTITY_KILLER_OF_PLAYER","official":true,"named":true,"luaName":"NetworkGetEntityKillerOfPlayer","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"player","type":"Player"},{"name":"weaponHash","type":"Hash*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x42B2DAA6B596F5F8","gtaJhash":"0xA7E7E04F","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_ENTITY_KILLER_OF_PLAYER","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_ENTITY_KILLER_OF_PLAYER.md","snippets":{"lua":"local retval, weaponHash = NetworkGetEntityKillerOfPlayer(player, weaponHash)","luaInvoke":"local retval, weaponHash = Citizen.InvokeNative(0x42B2DAA6B596F5F8, player, Citizen.PointerValueIntInitialized(weaponHash), Citizen.ResultAsInteger())","js":"const [retval, weaponHash] = NetworkGetEntityKillerOfPlayer(player, weaponHash);","jsInvoke":"const [retval, weaponHash] = Citizen.invokeNative('0x42B2DAA6B596F5F8', player, Citizen.pointerValueIntInitialized(weaponHash), Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var weaponHash = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x42B2DAA6B596F5F8, player, 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."]}}