The Lab
ITEMDATABASE native

_ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA

returns BOOL2 paramsbuild 1207

Fills outData with the UI data of the buyable award award. Returns true on success.

Signature

C
BOOL _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA(Hash award, Any* outData); // 0xF8D09EF8CE61D7BF b1207

Parameters

#NameType
1awardHash
2outDataAny* (out pointer)

Facts

Facts about _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
Name
_ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
Hash
0xF8D09EF8CE61D7BF
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, outData = Citizen.InvokeNative(0xF8D09EF8CE61D7BF, -- _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
  GetHashKey("name"), -- Hash award
  Citizen.PointerValueInt(), -- Any* outData
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, outData] = Citizen.invokeNative("0xF8D09EF8CE61D7BF", // _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
  GetHashKey("name"), // Hash award
  Citizen.pointerValueInt(), // Any* outData
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var outDataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xF8D09EF8CE61D7BF, // _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
  (uint)API.GetHashKey("name"), // Hash award
  outDataArg // Any* outData
);
int outData = outDataArg.GetResult<int>();
All ITEMDATABASE natives

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