_GET_PED_HAS_INTERACTED_WITH_PLAYER
Returns whether given ped has recently interacted with a player in a specific way or not (determined by the given flag)
Hash
0x947E43F544B6AB34Runtime name
GetPedHasInteractedWithPlayerNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_HAS_PED_INTERACTED_WITH_PLAYER_RECENTLYSignature
BOOL _GET_PED_HAS_INTERACTED_WITH_PLAYER(Ped targetPed, Player player, int flag, int durationMs);Parameters
| Name | Type | Description |
|---|---|---|
targetPed | Ped | — |
player | Player | — |
flag | int | — |
durationMs | int | — |
Returns BOOL
Description
Returns whether given ped has recently interacted with a player in a specific way or not (determined by the given flag)
flags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/0x947E43F544B6AB34
Returns whether a ped has interacted with a player recently.
flags: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/0x947E43F544B6AB34
Usage
local retval = GetPedHasInteractedWithPlayer(targetPed, player, flag, durationMs)
-- always works, by hash
local retval = Citizen.InvokeNative(0x947E43F544B6AB34, targetPed, player, flag, durationMs, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPedHasInteractedWithPlayer(targetPed, player, flag, durationMs);
// by hash
const retval = Citizen.invokeNative('0x947E43F544B6AB34', targetPed, player, flag, durationMs, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x947E43F544B6AB34, targetPed, player, flag, durationMs);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- 0x947E43F544B6AB34 70 values
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.