_CASHINVENTORY_TRANSACTION_VALIDATE_ITEM
Hash
0x6C9F12700BCE69F4Runtime name
CashinventoryTransactionValidateItemNamespaceNETSHOPPING
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _CASHINVENTORY_TRANSACTION_VALIDATE_ITEM(Hash p0, Any* p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Hash | — |
p1 | Any* | — |
Returns int
Usage
local retval, p1 = CashinventoryTransactionValidateItem(p0, p1)
-- always works, by hash
local retval, p1 = Citizen.InvokeNative(0x6C9F12700BCE69F4, p0, Citizen.PointerValueIntInitialized(p1), Citizen.ResultAsInteger())JavaScript and C#
const [retval, p1] = CashinventoryTransactionValidateItem(p0, p1);
// by hash
const [retval, p1] = Citizen.invokeNative('0x6C9F12700BCE69F4', p0, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var p1 = new OutputArgument();
int retval = Function.Call<int>((Hash)0x6C9F12700BCE69F4, p0, p1);
// p1.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`. - 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.