COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME
Hash
0x725D52F26A5E9E10Runtime name
CompendiumAnimalObservedByStatNameNamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1207
Signature
void COMPENDIUM_ANIMAL_OBSERVED_BY_STAT_NAME(Hash animalType, BOOL disableCompendiumToast);Parameters
| Name | Type | Description |
|---|---|---|
animalType | Hash | — |
disableCompendiumToast | BOOL | — |
Returns void
Usage
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast)
-- always works, by hash
Citizen.InvokeNative(0x725D52F26A5E9E10, animalType, disableCompendiumToast)JavaScript and C#
CompendiumAnimalObservedByStatName(animalType, disableCompendiumToast);
// by hash
Citizen.invokeNative('0x725D52F26A5E9E10', animalType, disableCompendiumToast);Function.Call((Hash)0x725D52F26A5E9E10, animalType, disableCompendiumToast);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.