IS_BIT_SET
Returns true if bit offset of address is set.
Signature
BOOL IS_BIT_SET(int address, int offset); // 0x4ED6CFDFE8D4131A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | address | int |
| 2 | offset | int |
Facts
| Name | IS_BIT_SET |
|---|---|
| Hash | 0x4ED6CFDFE8D4131A |
| 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 = Citizen.InvokeNative(0x4ED6CFDFE8D4131A, -- IS_BIT_SET
0, -- int address
0 -- int offset
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x4ED6CFDFE8D4131A", // IS_BIT_SET
0, // int address
0, // int offset
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x4ED6CFDFE8D4131A, // IS_BIT_SET
0, // int address
0 // int offset
);Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.