IS_BIT_SET
Hash
0x4ED6CFDFE8D4131ARuntime name
IsBitSetNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA921AA820C25702FSignature
BOOL IS_BIT_SET(int address, int offset);Parameters
| Name | Type | Description |
|---|---|---|
address | int | — |
offset | int | — |
Returns BOOL
Usage
local retval = IsBitSet(address, offset)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4ED6CFDFE8D4131A, address, offset, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsBitSet(address, offset);
// by hash
const retval = Citizen.invokeNative('0x4ED6CFDFE8D4131A', address, offset, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x4ED6CFDFE8D4131A, address, offset);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.