_PARSEDDATA_GET_BOOL
Based on its name and signature, here is our best reading:
Reads a boolean value from parsed data into p0, using p2 as the field hash. Returns true if the value was found.
Signature
BOOL _PARSEDDATA_GET_BOOL(BOOL* p0, Any* p1, Hash p2); // 0xA63CD20F19B961AB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | BOOL* (out pointer) |
| 2 | p1 | Any* (out pointer) |
| 3 | p2 | Hash |
Facts
| Name | _PARSEDDATA_GET_BOOL |
|---|---|
| Hash | 0xA63CD20F19B961AB |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, p0, p1 = Citizen.InvokeNative(0xA63CD20F19B961AB, -- _PARSEDDATA_GET_BOOL
Citizen.PointerValueInt(), -- BOOL* p0
Citizen.PointerValueInt(), -- Any* p1
GetHashKey("name"), -- Hash p2
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, p0, p1] = Citizen.invokeNative("0xA63CD20F19B961AB", // _PARSEDDATA_GET_BOOL
Citizen.pointerValueInt(), // BOOL* p0
Citizen.pointerValueInt(), // Any* p1
GetHashKey("name"), // Hash p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xA63CD20F19B961AB, // _PARSEDDATA_GET_BOOL
p0Arg, // BOOL* p0
p1Arg, // Any* p1
(uint)API.GetHashKey("name") // Hash p2
);
bool p0 = p0Arg.GetResult<bool>();
int p1 = p1Arg.GetResult<int>();Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.