TASK_WHISTLE_ANIM
Hash
0xD6401A1B2F63BED6Runtime name
TaskWhistleAnimNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_WHISTLE_ANIM(Ped ped, Hash audPedWhistleType, Hash p2);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
audPedWhistleType | Hash | — |
p2 | Hash | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/blob/master/AI/EVENTS/aud_ped_whistle_types.lua
p2: UNSPECIFIED
Usage
TaskWhistleAnim(ped, audPedWhistleType, p2)
-- always works, by hash
Citizen.InvokeNative(0xD6401A1B2F63BED6, ped, audPedWhistleType, p2)JavaScript and C#
TaskWhistleAnim(ped, audPedWhistleType, p2);
// by hash
Citizen.invokeNative('0xD6401A1B2F63BED6', ped, audPedWhistleType, p2);Function.Call((Hash)0xD6401A1B2F63BED6, ped, audPedWhistleType, p2);- 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.