COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM
Hash
0x4E4ACAE1C671A9DARuntime name
CompendiumAnimalGetSampleInventoryItemNamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1311
Signature
Any COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM(int compendiumEntry);Parameters
| Name | Type | Description |
|---|---|---|
compendiumEntry | int | — |
Returns Any
Usage
local retval = CompendiumAnimalGetSampleInventoryItem(compendiumEntry)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4E4ACAE1C671A9DA, compendiumEntry, Citizen.ResultAsInteger())JavaScript and C#
const retval = CompendiumAnimalGetSampleInventoryItem(compendiumEntry);
// by hash
const retval = Citizen.invokeNative('0x4E4ACAE1C671A9DA', compendiumEntry, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x4E4ACAE1C671A9DA, compendiumEntry);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.