{"hash":"0xF039EC27F4490E96","ns":"NETSHOPPING","name":"_CASHINVENTORY_TRANSACTION_START","slug":"_CASHINVENTORY_TRANSACTION_START","official":false,"named":true,"luaName":"CashinventoryTransactionStart","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"id","type":"int*"},{"name":"type","type":"Hash"},{"name":"actionHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETSHOPPING/_CASHINVENTORY_TRANSACTION_START","markdownUrl":"https://natives.borderlinerp.com/natives/NETSHOPPING/_CASHINVENTORY_TRANSACTION_START.md","snippets":{"lua":"local retval, id = CashinventoryTransactionStart(type, actionHash)","luaInvoke":"local retval, id = Citizen.InvokeNative(0xF039EC27F4490E96, Citizen.PointerValueInt(), type, actionHash, Citizen.ReturnResultAnyway())","js":"const [retval, id] = CashinventoryTransactionStart(type, actionHash);","jsInvoke":"const [retval, id] = Citizen.invokeNative('0xF039EC27F4490E96', Citizen.pointerValueInt(), type, actionHash, Citizen.returnResultAnyway());","csharp":"var id = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xF039EC27F4490E96, id, type, actionHash);\n// id.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` ``.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","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."]}}