The Lab
TASK native

TASK_SWAP_FISHING_BAIT

returns void3 paramsbuild 1207

Tasks ped to swap its fishing bait to bait.

Signature

C
void TASK_SWAP_FISHING_BAIT(Ped ped, const char* bait, BOOL withoutBuoy); // 0x2C28AC30A72722DA b1207

Parameters

#NameType
1pedPed
2baitconst char*
3withoutBuoyBOOL

Facts

Facts about TASK_SWAP_FISHING_BAIT
Name
TASK_SWAP_FISHING_BAIT
Hash
0x2C28AC30A72722DA
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(0x2C28AC30A72722DA, -- TASK_SWAP_FISHING_BAIT
  PlayerPedId(), -- Ped ped
  "text", -- const char* bait
  false -- BOOL withoutBuoy
)
JavaScript
Citizen.invokeNative("0x2C28AC30A72722DA", // TASK_SWAP_FISHING_BAIT
  PlayerPedId(), // Ped ped
  "text", // const char* bait
  false // BOOL withoutBuoy
);
C#
Function.Call((Hash)0x2C28AC30A72722DA, // TASK_SWAP_FISHING_BAIT
  API.PlayerPedId(), // Ped ped
  "text", // const char* bait
  false // BOOL withoutBuoy
);
All TASK natives

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