COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED
Returns the hash of the short compendium description text for ped.
Signature
Hash COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED(Ped ped); // 0x6C5E5D48E48B4C65 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED |
|---|---|
| Hash | 0x6C5E5D48E48B4C65 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x6C5E5D48E48B4C65, -- COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x6C5E5D48E48B4C65", // COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x6C5E5D48E48B4C65, // COMPENDIUM_GET_SHORT_DESCRIPTION_FROM_PED
API.PlayerPedId() // Ped ped
);Related COMPENDIUM natives
- COMPENDIUM_GET_SUBCATEGORY_PED_IS_IN
- COMPENDIUM_GET_ENTRY_BY_PED_INDEX
- COMPENDIUM_GET_MAP_DISCOVERABLE_FROM_STAT_ITEM
- COMPENDIUM_GET_STUDY_AWARD_ID
- COMPENDIUM_GET_SUBCATEGORY_SAMPLE_TOAST_DESC_COMPLETE
- COMPENDIUM_GET_SUBCATEGORY_SAMPLE_TOAST_DESC_PROGRESS
- COMPENDIUM_GET_SUBCATEGORY_SAMPLE_TOAST_TITLE
- COMPENDIUM_GET_SUBCATEGORY_TOAST_APP_ID
- COMPENDIUM_GET_ENTRY_BY_INDEX_IN_SUBCATEGORY
- COMPENDIUM_GET_ENTRY_BY_STAT_ITEM
- COMPENDIUM_GET_NUM_ENTRIES_IN_SUBCATEGORY
- COMPENDIUM_ANIMAL_GET_SAMPLE_INVENTORY_ITEM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.