RedM Natives

COMPENDIUM_WAS_ANIMAL_OBSERVED

Hash0x23B5E9C5160BC04F
Runtime nameCompendiumWasAnimalObserved
NamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1311

Signature

BOOL COMPENDIUM_WAS_ANIMAL_OBSERVED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = CompendiumWasAnimalObserved(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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