The Lab
TASK native

IS_PED_RUNNING_TASK_ITEM_INTERACTION

returns BOOL1 parambuild 1207

Returns true if ped is running an item interaction task.

Signature

C
BOOL IS_PED_RUNNING_TASK_ITEM_INTERACTION(Ped ped); // 0xEC7E480FF8BD0BED b1207

Parameters

#NameType
1pedPed

Facts

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

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