# TASK::TASK_SWAP_FISHING_BAIT

- **Hash:** `0x2C28AC30A72722DA`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskSwapFishingBait`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/TASK_SWAP_FISHING_BAIT

## Signature

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

## Parameters

- `ped` (`Ped`)
- `bait` (`const char*`)
- `withoutBuoy` (`BOOL`)

## Returns

`void`

## Description

Baits: see 0x9B0C7FA063E67629

## Usage

### Lua

```lua
TaskSwapFishingBait(ped, bait, withoutBuoy)

-- always available, by hash
Citizen.InvokeNative(0x2C28AC30A72722DA, ped, bait, withoutBuoy)
```

### JavaScript

```js
TaskSwapFishingBait(ped, bait, withoutBuoy);

// by hash
Citizen.invokeNative('0x2C28AC30A72722DA', ped, bait, withoutBuoy);
```

### C#

```csharp
Function.Call((Hash)0x2C28AC30A72722DA, ped, bait, withoutBuoy);
```

*Sources: alloc8or RDR3 NativeDB.*
