RedM Natives

_SET_PED_BLACKBOARD_HASH

BodyPartChained OverloadMostInjuredBodyPart LeftLeg Legs RightArm

Hash0xA762C9D6CF165E0D
Runtime nameSetPedBlackboardHash
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_BLACKBOARD_HASH(Ped ped, const char* variableName, const char* value, int removeTimer);

Parameters

NameTypeDescription
pedPed—
variableNameconst char*—
valueconst char*—
removeTimerint—

Returns void

Description

p1:
BodyPartChained
OverloadMostInjuredBodyPart

p2:
LeftLeg
Legs
RightArm

Usage

Lua
SetPedBlackboardHash(ped, variableName, value, removeTimer)

-- always works, by hash
Citizen.InvokeNative(0xA762C9D6CF165E0D, ped, variableName, value, removeTimer)
JavaScript and C#
JavaScript
SetPedBlackboardHash(ped, variableName, value, removeTimer);

// by hash
Citizen.invokeNative('0xA762C9D6CF165E0D', ped, variableName, value, removeTimer);
C#
Function.Call((Hash)0xA762C9D6CF165E0D, ped, variableName, value, removeTimer);
  • 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.