The Lab
STATS native

_STAT_ADD_ANIMAL_SAMPLE_TARGET

returns void1 parambuild 1355

Based on its name and signature, here is our best reading:

Registers the animal type animalType as a sample target for stat tracking.

Signature

C
void _STAT_ADD_ANIMAL_SAMPLE_TARGET(Hash animalType); // 0x90E9A5DADBABC918 b1355

Parameters

#NameType
1animalTypeHash

Facts

Facts about _STAT_ADD_ANIMAL_SAMPLE_TARGET
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.

Lua
Citizen.InvokeNative(0x90E9A5DADBABC918, -- _STAT_ADD_ANIMAL_SAMPLE_TARGET
  GetHashKey("name") -- Hash animalType
)
JavaScript
Citizen.invokeNative("0x90E9A5DADBABC918", // _STAT_ADD_ANIMAL_SAMPLE_TARGET
  GetHashKey("name") // Hash animalType
);
C#
Function.Call((Hash)0x90E9A5DADBABC918, // _STAT_ADD_ANIMAL_SAMPLE_TARGET
  (uint)API.GetHashKey("name") // Hash animalType
);
All STATS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.