RedM Natives

_GET_ANIMAL_IS_WILD

Ped (horse) will run away from players and mounting will trigger them to buck until disabled.

Hash0x3B005FF0538ED2A9
Runtime nameGetAnimalIsWild
NamespaceFLOCK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_ANIMAL_IS_WILD(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

Ped (horse) will run away from players and mounting will trigger them to buck until disabled.
Used for: REL_DOMESTICATED_ANIMAL

Usage

Lua
local retval = GetAnimalIsWild(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3B005FF0538ED2A9, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetAnimalIsWild(ped);

// by hash
const retval = Citizen.invokeNative('0x3B005FF0538ED2A9', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x3B005FF0538ED2A9, ped);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

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