_SET_BIT_FLAG
Sets the bit flag in the bit flag structure bitFlags.
Signature
void _SET_BIT_FLAG(Any* bitFlags, int flag); // 0xE84AAC1B22A73E99 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | bitFlags | Any* (out pointer) |
| 2 | flag | int |
Facts
| Name | _SET_BIT_FLAG |
|---|---|
| Hash | 0xE84AAC1B22A73E99 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local bitFlags = Citizen.InvokeNative(0xE84AAC1B22A73E99, -- _SET_BIT_FLAG
Citizen.PointerValueInt(), -- Any* bitFlags
0 -- int flag
)
print(bitFlags)const bitFlags = Citizen.invokeNative("0xE84AAC1B22A73E99", // _SET_BIT_FLAG
Citizen.pointerValueInt(), // Any* bitFlags
0 // int flag
);
console.log(bitFlags)var bitFlagsArg = new OutputArgument();
Function.Call((Hash)0xE84AAC1B22A73E99, // _SET_BIT_FLAG
bitFlagsArg, // Any* bitFlags
0 // int flag
);
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.