{"hash":"0xF3735ACD11ACD501","ns":"TASK","name":"_SET_TASK_FISHING","slug":"_SET_TASK_FISHING","official":false,"named":true,"luaName":"SetTaskFishing","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"Any*"}],"summary":"Only used in R* Scripts fishing_core and av_fishing_river","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* Scripts fishing_core and av_fishing_river"}],"examples":[],"aliases":[],"enums":[],"related":["0xF3735ACD11ACD500"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_SET_TASK_FISHING","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_SET_TASK_FISHING.md","snippets":{"lua":"local retval, p1 = SetTaskFishing(ped, p1)","luaInvoke":"local retval, p1 = Citizen.InvokeNative(0xF3735ACD11ACD501, ped, Citizen.PointerValueIntInitialized(p1), Citizen.ReturnResultAnyway())","js":"const [retval, p1] = SetTaskFishing(ped, p1);","jsInvoke":"const [retval, p1] = Citizen.invokeNative('0xF3735ACD11ACD501', ped, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway());","csharp":"var p1 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xF3735ACD11ACD501, ped, p1);\n// p1.GetResult<int>()","notes":["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."]}}