RedM Natives

GET_ANIMAL_TUNING_BOOL_PARAM

Hash0x1C1993824A396603
Runtime nameGetAnimalTuningBoolParam
NamespaceFLOCK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL GET_ANIMAL_TUNING_BOOL_PARAM(Ped animal, int index);

Parameters

NameTypeDescription
animalPed—
indexint—

Returns BOOL

Description

index: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eAnimalTuningBools
https://github.com/femga/rdr3_discoveries/tree/master/AI/ANIMAL_TUNING_BOOL_PARAMS

Usage

Lua
local retval = GetAnimalTuningBoolParam(animal, index)

-- always works, by hash
local retval = Citizen.InvokeNative(0x1C1993824A396603, animal, index, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetAnimalTuningBoolParam(animal, index);

// by hash
const retval = Citizen.invokeNative('0x1C1993824A396603', animal, index, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x1C1993824A396603, animal, index);

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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