The Lab
TASK native

IS_EMOTE_TASK_RUNNING

returns BOOL2 paramsbuild 1355

Returns true if ped is running an emote task.

Signature

C
BOOL IS_EMOTE_TASK_RUNNING(Ped ped, Any p1); // 0xCF9B71C0AF824036 b1355

Parameters

#NameType
1pedPed
2p1Any

Facts

Facts about IS_EMOTE_TASK_RUNNING
Name
IS_EMOTE_TASK_RUNNING
Hash
0xCF9B71C0AF824036
Namespace
Returns
BOOL
Game build
1355

Examples

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

Lua
local result = Citizen.InvokeNative(0xCF9B71C0AF824036, -- IS_EMOTE_TASK_RUNNING
  PlayerPedId(), -- Ped ped
  0 -- Any p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xCF9B71C0AF824036", // IS_EMOTE_TASK_RUNNING
  PlayerPedId(), // Ped ped
  0, // Any p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xCF9B71C0AF824036, // IS_EMOTE_TASK_RUNNING
  API.PlayerPedId(), // Ped ped
  0 // Any p1
);
All TASK natives

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