{"hash":"0xD45CB817D7E177D2","ns":"NETWORK","name":"NETWORK_HANDLE_FROM_FRIEND","slug":"NETWORK_HANDLE_FROM_FRIEND","official":true,"named":true,"luaName":"NetworkHandleFromFriend","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"friendIndex","type":"int"},{"name":"gamerHandle","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xD45CB817D7E177D2","gtaJhash":"0x3B0BB3A3","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_HANDLE_FROM_FRIEND","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_HANDLE_FROM_FRIEND.md","snippets":{"lua":"local gamerHandle = NetworkHandleFromFriend(friendIndex, gamerHandle)","luaInvoke":"local gamerHandle = Citizen.InvokeNative(0xD45CB817D7E177D2, friendIndex, Citizen.PointerValueIntInitialized(gamerHandle))","js":"const gamerHandle = NetworkHandleFromFriend(friendIndex, gamerHandle);","jsInvoke":"const gamerHandle = Citizen.invokeNative('0xD45CB817D7E177D2', friendIndex, Citizen.pointerValueIntInitialized(gamerHandle));","csharp":"var gamerHandle = new OutputArgument();\nFunction.Call((Hash)0xD45CB817D7E177D2, friendIndex, gamerHandle);\n// gamerHandle.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}