GET_BLOCK_OF_PLAYER_BITS
Based on its name and signature, here is our best reading:
Returns a block of bits from the player bitset value; p1 appears to select the block.
Signature
int GET_BLOCK_OF_PLAYER_BITS(Any* value, int p1); // 0xFA3B530A5CC693D5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | Any* (out pointer) |
| 2 | p1 | int |
Facts
| Name | GET_BLOCK_OF_PLAYER_BITS |
|---|---|
| Hash | 0xFA3B530A5CC693D5 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, value = Citizen.InvokeNative(0xFA3B530A5CC693D5, -- GET_BLOCK_OF_PLAYER_BITS
Citizen.PointerValueInt(), -- Any* value
0, -- int p1
Citizen.ResultAsInteger()
)
print(result, value)const [result, value] = Citizen.invokeNative("0xFA3B530A5CC693D5", // GET_BLOCK_OF_PLAYER_BITS
Citizen.pointerValueInt(), // Any* value
0, // int p1
Citizen.resultAsInteger()
);
console.log(result, value)var valueArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xFA3B530A5CC693D5, // GET_BLOCK_OF_PLAYER_BITS
valueArg, // Any* value
0 // int p1
);
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.