RedM Natives

_CASHINVENTORY_TRANSACTION_CHECKOUT_STATUS

Hash0x26C008791D066F37
Runtime nameCashinventoryTransactionCheckoutStatus
NamespaceNETSHOPPING
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _CASHINVENTORY_TRANSACTION_CHECKOUT_STATUS(int id, int* status);

Parameters

NameTypeDescription
idint—
statusint*—

Returns BOOL

Usage

Lua
local retval, status = CashinventoryTransactionCheckoutStatus(id, status)

-- always works, by hash
local retval, status = Citizen.InvokeNative(0x26C008791D066F37, id, Citizen.PointerValueIntInitialized(status), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, status] = CashinventoryTransactionCheckoutStatus(id, status);

// by hash
const [retval, status] = Citizen.invokeNative('0x26C008791D066F37', id, Citizen.pointerValueIntInitialized(status), Citizen.returnResultAnyway());
C#
var status = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x26C008791D066F37, id, status);
// status.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
  • 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.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.