_SET_PED_BLACKBOARD_BOOL
Hash
0xCB9401F918CB0F75Runtime name
SetPedBlackboardBoolNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_BLACKBOARD_BOOL(Ped ped, const char* variableName, BOOL value, int removeTimer);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
variableName | const char* | — |
value | BOOL | — |
removeTimer | int | — |
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
SetPedBlackboardBool(ped, variableName, value, removeTimer)
-- always works, by hash
Citizen.InvokeNative(0xCB9401F918CB0F75, ped, variableName, value, removeTimer)JavaScript and C#
SetPedBlackboardBool(ped, variableName, value, removeTimer);
// by hash
Citizen.invokeNative('0xCB9401F918CB0F75', ped, variableName, value, removeTimer);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
InvokeNativewith the hash — it always works.
See also
_REMOVE_PED_BLACKBOARD_BOOL_GET_PED_BLACKBOARD_BOOLCan be used to get a peds foliage active status: variableName = FoliageActive
Sources
alloc8or RDR3 NativeDB · femga rdr3_discoveries
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.