_CLEAR_ALL_BIT_FLAGS
Hash
0xD2D74F89DF844A50Runtime name
ClearAllBitFlagsNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _CLEAR_ALL_BIT_FLAGS(Any* bitFlags);Parameters
| Name | Type | Description |
|---|---|---|
bitFlags | Any* | — |
Returns void
Usage
local bitFlags = ClearAllBitFlags(bitFlags)
-- always works, by hash
local bitFlags = Citizen.InvokeNative(0xD2D74F89DF844A50, Citizen.PointerValueIntInitialized(bitFlags))JavaScript and C#
const bitFlags = ClearAllBitFlags(bitFlags);
// by hash
const bitFlags = Citizen.invokeNative('0xD2D74F89DF844A50', Citizen.pointerValueIntInitialized(bitFlags));var bitFlags = new OutputArgument();
Function.Call((Hash)0xD2D74F89DF844A50, bitFlags);
// bitFlags.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.