RedM Natives

_GET_PED_BLACKBOARD_FLOAT

Can be used to get a peds foliage raw height: variableName = FoliageHeight

Hash0x56E58D4D118FB45E
Runtime nameGetPedBlackboardFloat
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_PED_BLACKBOARD_FLOAT(Ped ped, const char* variableName);

Parameters

NameTypeDescription
pedPed—
variableNameconst char*—

Returns float

Description

Can be used to get a peds foliage raw height: variableName = FoliageHeight

Usage

Lua
local retval = GetPedBlackboardFloat(ped, variableName)

-- always works, by hash
local retval = Citizen.InvokeNative(0x56E58D4D118FB45E, ped, variableName, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetPedBlackboardFloat(ped, variableName);

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