# TASK::_SET_FISHING_BAIT

- **Hash:** `0x9B0C7FA063E67629`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `SetFishingBait`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_SET_FISHING_BAIT

## Signature

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

## Parameters

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

## Returns

`void`

## Description

Baits: p_fishHook02x, p_baitBread01x, p_baitCorn01x, p_baitCheese01x, p_baitWorm01x, p_baitCricket01x, p_crawdad01x, p_finisheDragonfly01x, p_finisdFishlure01x, p_finishdCrawd01x, p_finisheDragonflyLegendary01x, p_finisdFishlureLegendary01x, p_finishdCrawdLegendary01x, p_lgoc_spinner_v4

## Usage

### Lua

```lua
SetFishingBait(ped, bait, withoutBuoy, instantly)

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

### JavaScript

```js
SetFishingBait(ped, bait, withoutBuoy, instantly);

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

### C#

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

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
