The Lab
SPACTIONPROXY native

_SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Appears to fetch the next pending crafting action from the action proxy into data, returning true if one was available.

Signature

C
BOOL _SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION(Any* data); // 0x1F471B79ACC97BEF b1207

Parameters

#NameType
1dataAny* (out pointer)

Facts

Facts about _SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION
Name
_SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION
Hash
0x1F471B79ACC97BEF
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, data = Citizen.InvokeNative(0x1F471B79ACC97BEF, -- _SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION
  Citizen.PointerValueInt(), -- Any* data
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, data] = Citizen.invokeNative("0x1F471B79ACC97BEF", // _SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION
  Citizen.pointerValueInt(), // Any* data
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var dataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x1F471B79ACC97BEF, // _SPACTIONPROXY_GET_NEXT_PENDING_CRAFTING_ACTION
  dataArg // Any* data
);
int data = dataArg.GetResult<int>();
All SPACTIONPROXY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.