SET_BIT
Sets bit offset of the integer stored at address.
Signature
void SET_BIT(int* address, int offset); // 0xF73FBE4845C43B5B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | address | int* (out pointer) |
| 2 | offset | int |
Facts
| Name | SET_BIT |
|---|---|
| Hash | 0xF73FBE4845C43B5B |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local address = Citizen.InvokeNative(0xF73FBE4845C43B5B, -- SET_BIT
Citizen.PointerValueInt(), -- int* address
0 -- int offset
)
print(address)const address = Citizen.invokeNative("0xF73FBE4845C43B5B", // SET_BIT
Citizen.pointerValueInt(), // int* address
0 // int offset
);
console.log(address)var addressArg = new OutputArgument();
Function.Call((Hash)0xF73FBE4845C43B5B, // SET_BIT
addressArg, // int* address
0 // int offset
);
int address = addressArg.GetResult<int>();Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.