The Lab
TASK native

_SET_FISHING_BAIT

returns void4 paramsbuild 1207

Attaches the bait bait to the fishing rod of ped, optionally without a bobber and instantly.

Signature

C
void _SET_FISHING_BAIT(Ped ped, const char* bait, BOOL withoutBuoy, BOOL instantly); // 0x9B0C7FA063E67629 b1207

Parameters

#NameType
1pedPed
2baitconst char*
3withoutBuoyBOOL
4instantlyBOOL

Facts

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

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