{"hash":"0x947E43F544B6AB34","ns":"PED","name":"_GET_PED_HAS_INTERACTED_WITH_PLAYER","slug":"_GET_PED_HAS_INTERACTED_WITH_PLAYER","official":false,"named":true,"luaName":"GetPedHasInteractedWithPlayer","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"targetPed","type":"Ped"},{"name":"player","type":"Player"},{"name":"flag","type":"int"},{"name":"durationMs","type":"int"}],"summary":"Returns whether given ped has recently interacted with a player in a specific way or not (determined by the given flag)","descriptions":[{"source":"alloc8or","format":"text","body":"Returns whether given ped has recently interacted with a player in a specific way or not (determined by the given flag)\nflags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/0x947E43F544B6AB34"},{"source":"vorp","format":"text","body":"Returns whether a ped has interacted with a player recently.\nflags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/0x947E43F544B6AB34"}],"examples":[],"aliases":["_HAS_PED_INTERACTED_WITH_PLAYER_RECENTLY"],"enums":["0x947E43F544B6AB34"],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_PED_HAS_INTERACTED_WITH_PLAYER","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_PED_HAS_INTERACTED_WITH_PLAYER.md","snippets":{"lua":"local retval = GetPedHasInteractedWithPlayer(targetPed, player, flag, durationMs)","luaInvoke":"local retval = Citizen.InvokeNative(0x947E43F544B6AB34, targetPed, player, flag, durationMs, Citizen.ReturnResultAnyway())","js":"const retval = GetPedHasInteractedWithPlayer(targetPed, player, flag, durationMs);","jsInvoke":"const retval = Citizen.invokeNative('0x947E43F544B6AB34', targetPed, player, flag, durationMs, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x947E43F544B6AB34, targetPed, player, flag, durationMs);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}