SHIFT_LEFT
Returns value shifted left by bitShift bits.
Signature
int SHIFT_LEFT(int value, int bitShift); // 0xEDD95A39E5544DE8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | int |
| 2 | bitShift | int |
Facts
| Name | SHIFT_LEFT |
|---|---|
| Hash | 0xEDD95A39E5544DE8 |
| 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(0xEDD95A39E5544DE8, -- SHIFT_LEFT
0, -- int value
0, -- int bitShift
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xEDD95A39E5544DE8", // SHIFT_LEFT
0, // int value
0, // int bitShift
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xEDD95A39E5544DE8, // SHIFT_LEFT
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.