RedM Natives

_GET_PED_BLACKBOARD_HASH

Hash0xBF5E791BBBF90A3C
Runtime nameGetPedBlackboardHash
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Hash _GET_PED_BLACKBOARD_HASH(Ped ped, const char* variableName);

Parameters

NameTypeDescription
pedPed—
variableNameconst char*—

Returns Hash

Usage

Lua
local retval = GetPedBlackboardHash(ped, variableName)

-- always works, by hash
local retval = Citizen.InvokeNative(0xBF5E791BBBF90A3C, ped, variableName, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedBlackboardHash(ped, variableName);

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