The Lab
TASK native

_GET_TASK_FISHING

returns BOOL2 paramsbuild 1207

Reads the fishing task state of ped into the structure p1. Returns true on success.

Signature

C
BOOL _GET_TASK_FISHING(Ped ped, Any* p1); // 0xF3735ACD11ACD500 b1207

Parameters

#NameType
1pedPed
2p1Any* (out pointer)

Facts

Facts about _GET_TASK_FISHING
Name
_GET_TASK_FISHING
Hash
0xF3735ACD11ACD500
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, p1 = Citizen.InvokeNative(0xF3735ACD11ACD500, -- _GET_TASK_FISHING
  PlayerPedId(), -- Ped ped
  Citizen.PointerValueInt(), -- Any* p1
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, p1] = Citizen.invokeNative("0xF3735ACD11ACD500", // _GET_TASK_FISHING
  PlayerPedId(), // Ped ped
  Citizen.pointerValueInt(), // Any* p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var p1Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xF3735ACD11ACD500, // _GET_TASK_FISHING
  API.PlayerPedId(), // Ped ped
  p1Arg // Any* p1
);
int p1 = p1Arg.GetResult<int>();
All TASK natives

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