The Lab
COMPENDIUM native

COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID

returns Any2 paramsbuild 1311

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

Returns the UI app id used for toasts of the given compendium subcategory.

Signature

C
Any COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID(Hash category, Hash subcategory); // 0x2BF30D9D4D680112 b1311

Parameters

#NameType
1categoryHash
2subcategoryHash

Facts

Facts about COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
Name
COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
Hash
0x2BF30D9D4D680112
Namespace
Returns
Any
Game build
1311

Examples

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

Lua
local result = Citizen.InvokeNative(0x2BF30D9D4D680112, -- COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
  GetHashKey("name"), -- Hash category
  GetHashKey("name"), -- Hash subcategory
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x2BF30D9D4D680112", // COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
  GetHashKey("name"), // Hash category
  GetHashKey("name"), // Hash subcategory
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x2BF30D9D4D680112, // COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
  (uint)API.GetHashKey("name"), // Hash category
  (uint)API.GetHashKey("name") // Hash subcategory
);
All COMPENDIUM natives

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