The Lab
TASK native

TASK_GO_TO_WHISTLE

returns void3 paramsbuild 1207

Tasks the horse ped to come to p1 after being whistled for.

Signature

C
void TASK_GO_TO_WHISTLE(Ped ped, Ped p1, int whistleType); // 0xBAD6545608CECA6E b1207

Parameters

#NameType
1pedPed
2p1Ped
3whistleTypeint

Facts

Facts about TASK_GO_TO_WHISTLE
Name
TASK_GO_TO_WHISTLE
Hash
0xBAD6545608CECA6E
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(0xBAD6545608CECA6E, -- TASK_GO_TO_WHISTLE
  PlayerPedId(), -- Ped ped
  PlayerPedId(), -- Ped p1
  0 -- int whistleType
)
JavaScript
Citizen.invokeNative("0xBAD6545608CECA6E", // TASK_GO_TO_WHISTLE
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Ped p1
  0 // int whistleType
);
C#
Function.Call((Hash)0xBAD6545608CECA6E, // TASK_GO_TO_WHISTLE
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId(), // Ped p1
  0 // int whistleType
);
All TASK natives

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