The Lab
PED native

GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION

returns BOOL2 paramsbuild 1207

Returns true if ped is responding to a negative interaction, such as antagonizing, from player.

Signature

C
BOOL GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION(Ped ped, Player player); // 0xA454D234E45BB6E5 b1207

Parameters

#NameType
1pedPed
2playerPlayer

Facts

Facts about GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
Name
GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
Hash
0xA454D234E45BB6E5
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xA454D234E45BB6E5, -- GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
  PlayerPedId(), -- Ped ped
  PlayerId() -- Player player
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xA454D234E45BB6E5", // GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
  PlayerPedId(), // Ped ped
  PlayerId(), // Player player
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xA454D234E45BB6E5, // GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
  API.PlayerPedId(), // Ped ped
  API.PlayerId() // Player player
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.