SHIFT_RIGHT
Returns value shifted right by bitShift bits.
Signature
int SHIFT_RIGHT(int value, int bitShift); // 0x97EF1E5BCE9DC075 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | int |
| 2 | bitShift | int |
Facts
| Name | SHIFT_RIGHT |
|---|---|
| Hash | 0x97EF1E5BCE9DC075 |
| 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 = Citizen.InvokeNative(0x97EF1E5BCE9DC075, -- SHIFT_RIGHT
0, -- int value
0, -- int bitShift
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x97EF1E5BCE9DC075", // SHIFT_RIGHT
0, // int value
0, // int bitShift
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x97EF1E5BCE9DC075, // SHIFT_RIGHT
0, // int value
0 // int bitShift
);Related BUILTIN natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.