MISC
SET_BIT
0x933D6A9EEC1BACD0
Jenkins: 0x4EFE7E6B
Signature
// MISC
void SET_BIT(int* address, int offset)
Parameters
| Type | Name |
|---|---|
| int* | address |
| int | offset |
Return type void
Build 323
Documentation
This sets bit [offset] of [address] to on. The offsets used are different bits to be toggled on and off, typically there is only one address used in a script. Example: MISC::SET_BIT(&bitAddress, 1); To check if this bit has been enabled: MISC::IS_BIT_SET(bitAddress, 1); // will return 1 afterwards Please note, this method may assign a value to [address] when used.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.