{"hash":"0x3EE1F7A8C32F24E1","ns":"PLAYER","name":"GET_PLAYER_INTERACTION_TARGET_ENTITY","slug":"GET_PLAYER_INTERACTION_TARGET_ENTITY","official":true,"named":true,"luaName":"GetPlayerInteractionTargetEntity","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"},{"name":"outEntity","type":"Entity*"},{"name":"p2","type":"BOOL"},{"name":"p3","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PLAYER/GET_PLAYER_INTERACTION_TARGET_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/GET_PLAYER_INTERACTION_TARGET_ENTITY.md","snippets":{"lua":"local retval, outEntity = GetPlayerInteractionTargetEntity(player, p2, p3)","luaInvoke":"local retval, outEntity = Citizen.InvokeNative(0x3EE1F7A8C32F24E1, player, Citizen.PointerValueInt(), p2, p3, Citizen.ReturnResultAnyway())","js":"const [retval, outEntity] = GetPlayerInteractionTargetEntity(player, p2, p3);","jsInvoke":"const [retval, outEntity] = Citizen.invokeNative('0x3EE1F7A8C32F24E1', player, Citizen.pointerValueInt(), p2, p3, Citizen.returnResultAnyway());","csharp":"var outEntity = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x3EE1F7A8C32F24E1, player, outEntity, p2, p3);\n// outEntity.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}