RedM Natives

TASK_BARK

Hash0x83BFC1F836B2F3F2
Runtime nameTaskBark
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

void TASK_BARK(Ped ped, Ped barkAtTarget, Hash mood);

Parameters

NameTypeDescription
pedPed—
barkAtTargetPed—
moodHash—

Returns void

Usage

Lua
TaskBark(ped, barkAtTarget, mood)

-- always works, by hash
Citizen.InvokeNative(0x83BFC1F836B2F3F2, ped, barkAtTarget, mood)
JavaScript and C#
JavaScript
TaskBark(ped, barkAtTarget, mood);

// by hash
Citizen.invokeNative('0x83BFC1F836B2F3F2', ped, barkAtTarget, mood);
C#
Function.Call((Hash)0x83BFC1F836B2F3F2, ped, barkAtTarget, mood);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

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