RedM Natives

COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME

Hash0x725D52F26A5E9E10
Runtime nameCompendiumAnimalObservedByStatName
NamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1207

Signature

void COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME(Hash animalType, BOOL disableCompendiumToast);

Parameters

NameTypeDescription
animalTypeHash—
disableCompendiumToastBOOL—

Returns void

Usage

Lua
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast)

-- always works, by hash
Citizen.InvokeNative(0x725D52F26A5E9E10, animalType, disableCompendiumToast)
JavaScript and C#
JavaScript
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast);

// by hash
Citizen.invokeNative('0x725D52F26A5E9E10', animalType, disableCompendiumToast);
C#
Function.Call((Hash)0x725D52F26A5E9E10, animalType, disableCompendiumToast);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.