RedM Natives

IS_EMOTE_TASK_RUNNING

Hash0xCF9B71C0AF824036
Runtime nameIsEmoteTaskRunning
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1355

Signature

BOOL IS_EMOTE_TASK_RUNNING(Ped ped, Any p1);

Parameters

NameTypeDescription
pedPed—
p1Any—

Returns BOOL

Usage

Lua
local retval = IsEmoteTaskRunning(ped, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0xCF9B71C0AF824036, ped, p1, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEmoteTaskRunning(ped, p1);

// by hash
const retval = Citizen.invokeNative('0xCF9B71C0AF824036', ped, p1, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xCF9B71C0AF824036, ped, p1);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.