_IS_ANY_BIT_FLAG_SET
Returns true if at least one bit is set in bitFlags.
Signature
BOOL _IS_ANY_BIT_FLAG_SET(Any* bitFlags); // 0x80E9C316EF84DD81 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | bitFlags | Any* (out pointer) |
Facts
| Name | _IS_ANY_BIT_FLAG_SET |
|---|---|
| Hash | 0x80E9C316EF84DD81 |
| 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, bitFlags = Citizen.InvokeNative(0x80E9C316EF84DD81, -- _IS_ANY_BIT_FLAG_SET
Citizen.PointerValueInt(), -- Any* bitFlags
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, bitFlags] = Citizen.invokeNative("0x80E9C316EF84DD81", // _IS_ANY_BIT_FLAG_SET
Citizen.pointerValueInt(), // Any* bitFlags
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var bitFlagsArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x80E9C316EF84DD81, // _IS_ANY_BIT_FLAG_SET
bitFlagsArg // Any* bitFlags
);
int bitFlags = bitFlagsArg.GetResult<int>();Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.