RedM Natives

_SPACTIONPROXY_GET_NEXT_PENDING_BUY_ACTION

Hash0x1F471B79ACC98BEF
Runtime nameSpactionproxyGetNextPendingBuyAction
NamespaceSPACTIONPROXY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _SPACTIONPROXY_GET_NEXT_PENDING_BUY_ACTION(Any* data);

Parameters

NameTypeDescription
dataAny*—

Returns BOOL

Usage

Lua
local retval, data = SpactionproxyGetNextPendingBuyAction(data)

-- always works, by hash
local retval, data = Citizen.InvokeNative(0x1F471B79ACC98BEF, Citizen.PointerValueIntInitialized(data), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, data] = SpactionproxyGetNextPendingBuyAction(data);

// by hash
const [retval, data] = Citizen.invokeNative('0x1F471B79ACC98BEF', Citizen.pointerValueIntInitialized(data), Citizen.returnResultAnyway());
C#
var data = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x1F471B79ACC98BEF, data);
// data.GetResult<int>()
  • 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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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