_GET_TASK_FISHING
Fishing Research: Only used in R* Scripts fishing_core and av_fishing_river
Hash
0xF3735ACD11ACD500Runtime name
GetTaskFishingNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_TASK_FISHING(Ped ped, Any* p1);Parameters
| Name | Type | Description |
|---|---|---|
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
local retval, p1 = GetTaskFishing(ped, p1)
-- always works, by hash
local retval, p1 = Citizen.InvokeNative(0xF3735ACD11ACD500, ped, Citizen.PointerValueIntInitialized(p1), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, p1] = GetTaskFishing(ped, p1);
// by hash
const [retval, p1] = Citizen.invokeNative('0xF3735ACD11ACD500', ped, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
See also
_SET_TASK_FISHINGOnly used in R* Scripts fishing_core and av_fishing_river
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.