SHIFT_LEFT
Hash
0xEDD95A39E5544DE8Runtime name
ShiftLeftNamespaceBUILTIN
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEDD95A39E5544DE8Signature
int SHIFT_LEFT(int value, int bitShift);Parameters
| Name | Type | Description |
|---|---|---|
value | int | — |
bitShift | int | — |
Returns int
Usage
local retval = ShiftLeft(value, bitShift)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEDD95A39E5544DE8, value, bitShift, Citizen.ResultAsInteger())JavaScript and C#
const retval = ShiftLeft(value, bitShift);
// by hash
const retval = Citizen.invokeNative('0xEDD95A39E5544DE8', value, bitShift, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xEDD95A39E5544DE8, value, bitShift);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.