TASK_BARK
Signature
void TASK_BARK(Ped ped, Ped barkAtTarget, Hash mood);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
barkAtTarget | Ped | — |
mood | Hash | — |
Returns void
Usage
TaskBark(ped, barkAtTarget, mood)
-- always works, by hash
Citizen.InvokeNative(0x83BFC1F836B2F3F2, ped, barkAtTarget, mood)JavaScript and C#
TaskBark(ped, barkAtTarget, mood);
// by hash
Citizen.invokeNative('0x83BFC1F836B2F3F2', ped, barkAtTarget, mood);Function.Call((Hash)0x83BFC1F836B2F3F2, ped, barkAtTarget, mood);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.