RedM Natives

_SET_PED_BLACKBOARD_BOOL

Hash0xCB9401F918CB0F75
Runtime nameSetPedBlackboardBool
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

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

Parameters

NameTypeDescription
pedPed—
variableNameconst char*—
valueBOOL—
removeTimerint—

Returns void

Description

femga rdr3_discoveries · research notes

// 0xCB9401F918CB0F75
void N_0xCB9401F918CB0F75(Ped ped, char* walkstyleName, BOOL enable, Any p3)
/*
List of walkstyleNames:
    "MP_Style_Default"
    "MP_Style_Casual"
    "MP_Style_Crazy"
    "MP_Style_Flamboyant"
    "MP_Style_Gunslinger"
    "MP_Style_Refined"
    "MP_Style_SilentType"
    "MP_Style_Greenhorn"
    "MP_Style_Veteran"
    "MP_Style_EasyRider"

Apply walkstyle:
Citizen.InvokeNative(0xCB9401F918CB0F75, PlayerPedId(), "MP_Style_EasyRider",true,-1)

Before applying other walkstyles, dont forget to remove existing one:
Citizen.InvokeNative(0xCB9401F918CB0F75,PlayerPedId(), "MP_Style_EasyRider", 0, -1);
*/

Usage

Lua
SetPedBlackboardBool(ped, variableName, value, removeTimer)

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

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

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