_CLEAR_PLAYER_BIT_AT_INDEX
Clears the bit at bitIndex in the player bitset value.
Signature
void _CLEAR_PLAYER_BIT_AT_INDEX(Any* value, int bitIndex); // 0xD426E2E3288469D6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | Any* (out pointer) |
| 2 | bitIndex | int |
Facts
| Name | _CLEAR_PLAYER_BIT_AT_INDEX |
|---|---|
| Hash | 0xD426E2E3288469D6 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local value = Citizen.InvokeNative(0xD426E2E3288469D6, -- _CLEAR_PLAYER_BIT_AT_INDEX
Citizen.PointerValueInt(), -- Any* value
0 -- int bitIndex
)
print(value)const value = Citizen.invokeNative("0xD426E2E3288469D6", // _CLEAR_PLAYER_BIT_AT_INDEX
Citizen.pointerValueInt(), // Any* value
0 // int bitIndex
);
console.log(value)var valueArg = new OutputArgument();
Function.Call((Hash)0xD426E2E3288469D6, // _CLEAR_PLAYER_BIT_AT_INDEX
valueArg, // Any* value
0 // int bitIndex
);
int value = valueArg.GetResult<int>();Related SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.