_STAT_ADD_ANIMAL_SAMPLE_TARGET
Based on its name and signature, here is our best reading:
Registers the animal type animalType as a sample target for stat tracking.
Signature
void _STAT_ADD_ANIMAL_SAMPLE_TARGET(Hash animalType); // 0x90E9A5DADBABC918 b1355Parameters
| # | Name | Type |
|---|---|---|
| 1 | animalType | Hash |
Facts
| Name | _STAT_ADD_ANIMAL_SAMPLE_TARGET |
|---|---|
| Hash | 0x90E9A5DADBABC918 |
| Namespace | |
| Returns | void |
| Game build | 1355 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x90E9A5DADBABC918, -- _STAT_ADD_ANIMAL_SAMPLE_TARGET
GetHashKey("name") -- Hash animalType
)Citizen.invokeNative("0x90E9A5DADBABC918", // _STAT_ADD_ANIMAL_SAMPLE_TARGET
GetHashKey("name") // Hash animalType
);Function.Call((Hash)0x90E9A5DADBABC918, // _STAT_ADD_ANIMAL_SAMPLE_TARGET
(uint)API.GetHashKey("name") // Hash animalType
);Related STATS natives
- STAT_ADD_BOUNTY_TARGET
- _STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL
- STAT_REGISTER_LEGENDARY_ANIMAL_DEED
- _STAT_CALCULATE_COOLDOWN
- _STAT_CARRIED_SATCHEL_ITEM_FROM_PED
- _STAT_DONATE_INCREMENT_ITEM
- _STAT_ID_DECREMENT_INT
- _STAT_ID_INCREMENT_FLOAT
- _STAT_ID_INCREMENT_INT
- _STAT_ITEM_FISH_CAUGHT
- CHAL_ADD_GOAL_PROGRESS_FLOAT
- CHAL_ADD_GOAL_PROGRESS_FLOAT_BY_SCORE_ID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.