_CASHINVENTORY_TRANSACTION_FIRE_AND_FORGET_ITEM
Hash
0xFFEA09CCEC4AF32FRuntime name
CashinventoryTransactionFireAndForgetItemNamespaceNETSHOPPING
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _CASHINVENTORY_TRANSACTION_FIRE_AND_FORGET_ITEM(Hash actionHash, int* id, Any* item, int p3);Parameters
| Name | Type | Description |
|---|---|---|
actionHash | Hash | — |
id | int* | — |
item | Any* | — |
p3 | int | — |
Returns BOOL
Usage
local retval, id, item = CashinventoryTransactionFireAndForgetItem(actionHash, p3)
-- always works, by hash
local retval, id, item = Citizen.InvokeNative(0xFFEA09CCEC4AF32F, actionHash, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p3, Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, id, item] = CashinventoryTransactionFireAndForgetItem(actionHash, p3);
// by hash
const [retval, id, item] = Citizen.invokeNative('0xFFEA09CCEC4AF32F', actionHash, Citizen.pointerValueInt(), Citizen.pointerValueInt(), p3, Citizen.returnResultAnyway());var id = new OutputArgument();
var item = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xFFEA09CCEC4AF32F, actionHash, id, item, p3);
// id.GetResult<int>()
// item.GetResult<int>()- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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.
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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.