The Lab
PED native

_GET_PED_BLACKBOARD_BOOL

returns BOOL2 paramsbuild 1207

Returns the boolean value stored under variableName on the blackboard of ped.

Signature

C
BOOL _GET_PED_BLACKBOARD_BOOL(Ped ped, const char* variableName); // 0x498F2E77982D6945 b1207

Parameters

#NameType
1pedPed
2variableNameconst char*

Facts

Facts about _GET_PED_BLACKBOARD_BOOL
Name
_GET_PED_BLACKBOARD_BOOL
Hash
0x498F2E77982D6945
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x498F2E77982D6945, -- _GET_PED_BLACKBOARD_BOOL
  PlayerPedId(), -- Ped ped
  "text" -- const char* variableName
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x498F2E77982D6945", // _GET_PED_BLACKBOARD_BOOL
  PlayerPedId(), // Ped ped
  "text", // const char* variableName
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x498F2E77982D6945, // _GET_PED_BLACKBOARD_BOOL
  API.PlayerPedId(), // Ped ped
  "text" // const char* variableName
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.