The Lab
TASK native

TASK_WHISTLE_ANIM

returns void3 paramsbuild 1207

Tasks ped to play a whistle animation of type audPedWhistleType.

Signature

C
void TASK_WHISTLE_ANIM(Ped ped, Hash audPedWhistleType, Hash p2); // 0xD6401A1B2F63BED6 b1207

Parameters

#NameType
1pedPed
2audPedWhistleTypeHash
3p2Hash

Facts

Facts about TASK_WHISTLE_ANIM
Name
TASK_WHISTLE_ANIM
Hash
0xD6401A1B2F63BED6
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0xD6401A1B2F63BED6, -- TASK_WHISTLE_ANIM
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash audPedWhistleType
  GetHashKey("name") -- Hash p2
)
JavaScript
Citizen.invokeNative("0xD6401A1B2F63BED6", // TASK_WHISTLE_ANIM
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash audPedWhistleType
  GetHashKey("name") // Hash p2
);
C#
Function.Call((Hash)0xD6401A1B2F63BED6, // TASK_WHISTLE_ANIM
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name"), // Hash audPedWhistleType
  (uint)API.GetHashKey("name") // Hash p2
);
All TASK natives

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