RedM Natives

_STAT_ADD_ANIMAL_SAMPLE_TARGET

Related to animal tagging

Hash0x90E9A5DADBABC918
Runtime nameStatAddAnimalSampleTarget
NamespaceSTATS
SideClient
NameCommunity guess
Docs
Since build1355

Signature

void _STAT_ADD_ANIMAL_SAMPLE_TARGET(Hash animalType);

Parameters

NameTypeDescription
animalTypeHash—

Returns void

Description

Related to animal tagging

Usage

Lua
StatAddAnimalSampleTarget(animalType)

-- always works, by hash
Citizen.InvokeNative(0x90E9A5DADBABC918, animalType)
JavaScript and C#
JavaScript
StatAddAnimalSampleTarget(animalType);

// by hash
Citizen.invokeNative('0x90E9A5DADBABC918', animalType);
C#
Function.Call((Hash)0x90E9A5DADBABC918, animalType);
  • 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`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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