# TASK::_GET_TASK_FISHING

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

## Signature

```c
BOOL _GET_TASK_FISHING(Ped ped, Any* p1);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`Any*`)

## Returns

`BOOL`

## Description

Fishing Research: https://pastebin.com/NmK5ZLVs
Only used in R* Scripts fishing_core and av_fishing_river

## Usage

### Lua

```lua
local retval, p1 = GetTaskFishing(ped, p1)

-- always available, by hash
local retval, p1 = Citizen.InvokeNative(0xF3735ACD11ACD500, ped, Citizen.PointerValueIntInitialized(p1), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, p1] = GetTaskFishing(ped, p1);

// by hash
const [retval, p1] = Citizen.invokeNative('0xF3735ACD11ACD500', ped, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway());
```

### C#

```csharp
var p1 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xF3735ACD11ACD500, ped, p1);
// p1.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.
- 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.

## See also

- [TASK::_SET_TASK_FISHING](https://natives.borderlinerp.com/natives/TASK/_SET_TASK_FISHING.md) — Only used in R* Scripts fishing_core and av_fishing_river

*Sources: alloc8or RDR3 NativeDB.*
