RedM Natives

TASK_SWAP_FISHING_BAIT

Hash0x2C28AC30A72722DA
Runtime nameTaskSwapFishingBait
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

void TASK_SWAP_FISHING_BAIT(Ped ped, const char* bait, BOOL withoutBuoy);

Parameters

NameTypeDescription
pedPed—
baitconst char*—
withoutBuoyBOOL—

Returns void

Description

Usage

Lua
TaskSwapFishingBait(ped, bait, withoutBuoy)

-- always works, by hash
Citizen.InvokeNative(0x2C28AC30A72722DA, ped, bait, withoutBuoy)
JavaScript and C#
JavaScript
TaskSwapFishingBait(ped, bait, withoutBuoy);

// by hash
Citizen.invokeNative('0x2C28AC30A72722DA', ped, bait, withoutBuoy);
C#
Function.Call((Hash)0x2C28AC30A72722DA, ped, bait, withoutBuoy);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.