{"hash":"0xD61D5E1AD9876DEB","ns":"TASK","name":"_TASK_ITEM_INTERACTION_3","slug":"_TASK_ITEM_INTERACTION_3","official":false,"named":true,"luaName":"TaskItemInteraction_3","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"item","type":"Hash"},{"name":"guid","type":"Any*"},{"name":"p3","type":"Any"},{"name":"p4","type":"Any"},{"name":"p5","type":"Any"},{"name":"p6","type":"float"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Params: p3, p4, p5, p6: 0, 0, 0, -1.0f in R* Scripts"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_TASK_ITEM_INTERACTION_3","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_TASK_ITEM_INTERACTION_3.md","snippets":{"lua":"local guid = TaskItemInteraction_3(ped, item, p3, p4, p5, p6)","luaInvoke":"local guid = Citizen.InvokeNative(0xD61D5E1AD9876DEB, ped, item, Citizen.PointerValueInt(), p3, p4, p5, p6)","js":"const guid = TaskItemInteraction_3(ped, item, p3, p4, p5, p6);","jsInvoke":"const guid = Citizen.invokeNative('0xD61D5E1AD9876DEB', ped, item, Citizen.pointerValueInt(), p3, p4, p5, p6 + 0.0000001);","csharp":"var guid = new OutputArgument();\nFunction.Call((Hash)0xD61D5E1AD9876DEB, ped, item, guid, p3, p4, p5, p6);\n// guid.GetResult<int>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`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."]}}