The Lab
PED native

IS_PED_RESPONDING_TO_EVENT

returns BOOL2 paramsbuild 1207

Returns true if ped is responding to an event of type eventType.

Signature

C
BOOL IS_PED_RESPONDING_TO_EVENT(Ped ped, Hash eventType); // 0x625B774D75C87068 b1207

Parameters

#NameType
1pedPed
2eventTypeHash

Facts

Facts about IS_PED_RESPONDING_TO_EVENT
Name
IS_PED_RESPONDING_TO_EVENT
Hash
0x625B774D75C87068
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(0x625B774D75C87068, -- IS_PED_RESPONDING_TO_EVENT
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash eventType
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x625B774D75C87068", // IS_PED_RESPONDING_TO_EVENT
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash eventType
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x625B774D75C87068, // IS_PED_RESPONDING_TO_EVENT
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash eventType
);
All PED natives

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