_GET_PED_BLACKBOARD_BOOL
Can be used to get a peds foliage active status: variableName = FoliageActive
Hash
0x498F2E77982D6945Runtime name
GetPedBlackboardBoolNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_PED_BLACKBOARD_BOOL(Ped ped, const char* variableName);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
variableName | const char* | — |
Returns BOOL
Description
Can be used to get a peds foliage active status: variableName = FoliageActive
Usage
local retval = GetPedBlackboardBool(ped, variableName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x498F2E77982D6945, ped, variableName, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPedBlackboardBool(ped, variableName);
// by hash
const retval = Citizen.invokeNative('0x498F2E77982D6945', ped, variableName, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x498F2E77982D6945, ped, variableName);- 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
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.