SET_BIT
Hash
0xF73FBE4845C43B5BRuntime name
SetBitNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x933D6A9EEC1BACD0Signature
void SET_BIT(int* address, int offset);Parameters
| Name | Type | Description |
|---|---|---|
address | int* | — |
offset | int | — |
Returns void
Usage
local address = SetBit(offset)
-- always works, by hash
local address = Citizen.InvokeNative(0xF73FBE4845C43B5B, Citizen.PointerValueInt(), offset)JavaScript and C#
const address = SetBit(offset);
// by hash
const address = Citizen.invokeNative('0xF73FBE4845C43B5B', Citizen.pointerValueInt(), offset);var address = new OutputArgument();
Function.Call((Hash)0xF73FBE4845C43B5B, address, offset);
// address.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.